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
roll the dice (completed 20JUL28) add a true random number for when dice is initialized
all players may add points to their card
sum both white dice and optionally add points to any color on card
the player whose turn it is sums one white and one colored dice and may add points to that color on card
the player whose turn it is adds penalty if no points taken
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 (kyle-plain 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)
(20AUG09) TODO: check that index and color, match rolled die (this will help finish addx) then continue work on send/receive
(20AUG11) TODO: write psuedo code for line 170-175 (174 specifically) in game.cpp
(20AUG13) TODO: fix the leftToRightRule and the lockoutRule functions to return bools and change parameters so they use collectionOfMoves.
create master function for to call all rules - remove addx dependencies from currentTurnOlok
(20AUG13) TODO: refactor dice so it is not vector of ints and add different property to access the die
(20AGU13) TODO: receive should parse input and create a collectionOfMoves (20AUG18, collectionOfMoves has been refactored to Turn) from it
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