# Start making the player card ## the game is set up - each player gets a card - ~~called playerCard for player to mark their points~~ - has 4 different colored rows (direction rule, add lockout, label boxes, rules for boxes) - ~~rows are numbered 2-12 with boxes for scoring~~ - ~~there are six six-sided dice~~ - ~~two white die, a blue, a red, a yellow and green die.~~ ## players take turns 1. ~~roll the dice~~ (completed 20JUL28) **add a true random number for when dice is initialized** 1. all players may add points to their card - sum both white dice and optionally add points to any color on card 1. the player whose turn it is sums one white and one colored dice and may add points to that color on card 1. the player whose turn it is adds penalty if no points taken 1. ~~scoring phase~~ - ~~at the end of the turn, the game may end if there are enough points on any player's card~~ - ~~if any one player has 4 penalties, the game is over~~ - ~~if any 2 rows are locked out, the game is over~~ ### notes on turns - create end of turn in game - **add time constraint to game later** #### use sockets to make a networkable game and also send data back/forth** - what is on the file that gets sent back and forth between server and players - what goes out to players: per player(48boxes, penalty count), locked off rows, dice roll, game end(when it occurs) - (20AUG04) Started working on send function, come back and finish it to denote a 4x12 grid to save checkboxes per row - (20AUG06) come back to `// add selection to players' cards` (explain it) to continue with `send/receive` - before writing received create the rules that will affect receive function (e.g. which checkboxes are allowed to be clicked) - current make process involves compiling all object files from dice, game, playercard to create main.exe which has to be manually linked to these objects. update makefile to support object file code - what comes in from players: newest item checked off on row&column (maybe 2) or penalty ## the game is ended - list the scores and indicate the winner