CMSC 201 War - A Card Game Out: Wednesday 2/27/02
The design document for this project,
design2.txt , |
Our rules -
While testing various seeds for the random number generator, I was surprised at how many times there were cards left in the tie pile at game's end. You will also investigate this by having your program play this game 100 times, using the numbers 1 through 100 as seeds for the random number generator. You must then report the number of games that ended with cards left in the tie pile.
Make sure that you print an explanation of the game to the user and have him press ENTER to begin the playing of the games. Otherwise the explanation will scroll off of the screen before the user gets to read it.