Skip to content

Instantly share code, notes, and snippets.

Created December 28, 2013 22:45
>>> e = Environment(Player(), Computer())
>>> e['player']
{'money': 5000, 'tofu': 0}
>>> e['computer']
{'money': 5000, 'tofu': 0}
>>> e['tofu']
{'price': 50, 'cost': 40, 'sunny': 500, 'rainy': 100, 'cloudy': 300}
>>> e['game-over']
30000
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment