the logical sample player, both human and automated strategies
file | purpose |
---|---|
game-base-control.rkt | a framework for creating a controller: |
game-control.rkt | the actual control classes for a human player mechanism |
greedy.rkt | implement a simple greedy strategy: |
human.rkt | TODO: eliminate ROW/COLUMN constants from below and allow players to set up dimensions |
player.rkt | this component implements the mechanics of the player |
random.rkt | implement a random-pick strategy that avoids the "maximal fish tile" when possible |
strategy-interface.rkt | specify a strategt class with contract |