1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# -*- coding: utf-8 -*- """ Enumerates the game state : normal, won, lost Created on Sat Sep 21 19:38:06 2013 @author: laurent-bernabe """ class GameState(object): """ Enumerates the game state : normal, won or lost. """ NORMAL = 0 WON = 1 LOST = 2