greed_game
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
greed_game [2018/12/14 10:26] – frchris | greed_game [2018/12/14 10:34] – frchris | ||
---|---|---|---|
Line 29: | Line 29: | ||
Here are two BlueJ project zipped up with some code: | Here are two BlueJ project zipped up with some code: | ||
+ | |||
* {{ :: | * {{ :: | ||
* {{ :: | * {{ :: | ||
+ | |||
+ | **Greed Game Sim ** | ||
+ | |||
+ | Since the chances of rolling a 2 is 1/6, then why not modify the game that so two die are cast, and the " | ||
+ | |||
+ | It takes a while to play a game, so why not have the computer simulate the game many many times? We can then compare the original game to the modified game and see if the variation is about the same, or if one games seems different. | ||
+ | |||
+ | The code above can be changed to be verbose, and with any number of players (see the first two lines of the '' | ||
+ | |||
+ | **Greed Game Contest ** | ||
+ | |||
+ | You can now design and test Game strategies with this one. You can design subclasses of player that will sit down based on a strategy. | ||
+ | |||
+ | {{ https:// | ||
+ |
greed_game.txt · Last modified: 2023/03/02 13:43 by frchris