Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game_state.py
blob: 2dce5a0b9e7af354c5ce40abbe465d8044258b1d (plain)
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