wes
|
e975f02ae5
added networking startup to main.cpp. todo: do front end game design of what makes a game fun. fester.h is some windows socket related stuff.
|
4 years ago |
wes
|
38ff4872ae
fix: added a way for players to join game in receive function. <- this is the correct commit
|
4 years ago |
wes
|
28c05a4dd1
added a way for users to join the game in receive method.
|
4 years ago |
wes
|
7742e87084
finished receive method for game.
|
4 years ago |
wes
|
b45c97e9f6
added diceTropy funciton to dice.cpp to increase entropy of dice. changed Turn turn to Turn turnInProgress - can check the turn and then now add it to a player's currentTurnOlok. scoreSheet will have a secretNumber to stop impersonation.
|
4 years ago |
wes
|
d3414aecb7
created new method translateToMove. expanded on the receive method in game.cpp.
|
4 years ago |
wes
|
d0d2fd4ab2
create checkTurn method as a wrapper around the rules for a turn.
|
4 years ago |
wes
|
514630997f
refactored leftToRightRule.
|
4 years ago |
wes
|
f6e60d5524
refactored the LockoutRule method. changed the method Turn into Round so we could then we could rename CollectionOfMoves to Turn.
|
4 years ago |
wes
|
a47beaa67d
fixed code smell on line 194. removed ternary.
|
4 years ago |
wes
|
8402012533
added isMoveRepresentedInDie function in game.cpp. added Moves struct and CollectionOfMoves struct in game.h.
|
4 years ago |
wes
|
575fc6a0ba
fixed olok so the colors are accessible as colors instead of an index. added isColor function. on game.cpp added active player. working on pseudocode for turn game code.
|
4 years ago |
wes
|
aaab62e18a
Refactored some game code by moving parts into Olok, updated how olok stores internal data
|
4 years ago |
wes
|
7ee6176e05
added olok in place of (junk code that was not figured out previously) to transfer player's input for turn for the end of turn.
|
4 years ago |
wes
|
b2461252ef
renamed playerCard to ScoreSheet in all files to remove confusion and rewrite the ScoreSheet class.
|
4 years ago |
wes
|
f698a46c7e
send is now completed. received pseudocode is written and needs to be coded.
|
4 years ago |
wes
|
f3034cbdcb
wrote prototypes for send/receive functions(did part of send) for a client/server model. fixed a few bugs in game.cpp (initialize, state, addPlayer).
|
4 years ago |
wes
|
9bd77537ec
added score function to game, includes lockout, points, check for penalties. improved how turns will take place in game.
|
4 years ago |
wes
|
533fe0bf7e
defined common colors and states of play in qwixx.h
|
4 years ago |