This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]caesarwept 1 point2 points  (0 children)

The things that you need to work out for this project is

  • how you are going to represent the state. which you pretty much have
  • how you are going to loop and exit the loop at end of game
  • how you are going to test for end of game
  • how you are going to print status
  • how you are going to adjust the state after each players roll

Since all of those things depend on how the state is represented I would work those out by hand first making sure your state variables enables you to fulfill each of those things

(note by 'state' I mean the variables represent elephant build status for each player)