Created
July 12, 2011 17:39
-
-
Save ChristinaMeno/1078512 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
>>> thing = type('name', (object,), {'hello':'hello world'})() | |
>>> thing.hello | |
'hello world' | |
class name(object): | |
hello = 'hello world' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tell me about you choice for TTT state representation.
What don't you like about your TTT implementation?
If you had more time what would you change?
How would you write a test to prove that your TTT never loses?