-
-
Save amosbastian/c7af04891046c88f4285c817c9e6922e to your computer and use it in GitHub Desktop.
A selfish player for "The AI Contest #1: public goods problem"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Game.Player import Player | |
from Game.Context import Context | |
from Game.Bet import Bet | |
class SelfishPlayer(Player): | |
def getSteemUser(self): | |
return "@amosbastian" | |
# Doesn't care about context, only himself | |
def think(self, context): | |
return Bet.NOTHING |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment