Skip to content

Instantly share code, notes, and snippets.

@amosbastian amosbastian/ Secret
Last active Jan 26, 2018

What would you like to do?
A selfish player for "The AI Contest #1: public goods problem"
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
You can’t perform that action at this time.