1205 S '03
Projects
Code Walks
Finals
 
Bazaar
Server
Project 1
Project 2
Project 3
Project 4
Project 5
Project 6
Project 7
Project 8
Project 9

More Players

Design and implement the following strategies as additional players:

  • BuyBestCard: if there is more than one card that the player can buy, it buys the best card. [2pts]
    Rationale: when you can buy two cards, you might as well buy the one that creates more value.

  • AlwaysTrade: the player trades up if it can gain two or more pebbles from a trade. [2pts]
    Rationale: the more pebbles you acquire, the sooner you can buy one.

  • BestAlways: this player combines the two modifications. [2pts]
    Rationale: combine the two rationales.

  • Run a tournament to find out how these strategies perform. [1pts]


    last updated on Mon Jun 2 18:28:43 EDT 2003generated with PLT Scheme