Created
July 21, 2017 03:02
-
-
Save alasdairham/09f86b3d70a517ed1786e5ff2f0d31c5 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| class RPS: | |
| actions = ['ROCK', 'PAPER', 'SCISSORS'] | |
| n_actions = 3 | |
| utilities = pd.DataFrame([ | |
| # ROCK PAPER SCISSORS | |
| [ 0, -1, 1], # ROCK | |
| [ 1, 0, -1], # PAPER | |
| [-1, 1, 0] # SCISSORS | |
| ], columns=actions, index=actions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment