User Tools

Site Tools


greed_game

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
greed_game [2018/12/14 13:08] frchrisgreed_game [2023/03/02 13:43] (current) frchris
Line 1: Line 1:
- 
 **Greed Game** **Greed Game**
  
Line 49: Line 48:
  
   * {{ ::greed_game.zip |}}   * {{ ::greed_game.zip |}}
-  * {{ ::greed_game_contest.zip |}}+  * {{ ::greed_game_contest.zip |Greed Game Contest.zip}} Last Updated March 2, 2023
  
 **Greed Game Sim ** **Greed Game Sim **
Line 61: Line 60:
 **Greed Game Contest ** **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.  A timid player would always sit down right away, while a greedy player will press his or her luck.  +You can now design and test Game strategies with this one.  You can design subclasses of a new ''Player'' class is a little different.  Instead of "sit down," your ''decide'' method would call ''setActive(false)'' There are also two parmeters that delivers some information that you can use to make your own strategy.  A timid player would always sit down right away, while a greedy player will press his or her luck.  Luck at the ''decide'' of the different subclasses of ''Player''
 + 
  
 {{ https://mathorama.com/apcs/uploads/Main/GreedContest.png}} {{ https://mathorama.com/apcs/uploads/Main/GreedContest.png}}
greed_game.1544810931.txt.gz · Last modified: 2018/12/14 13:08 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki