Logo Search packages:      
Sourcecode: gameclock version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes

gameclock::HourglassGame Class Reference

Inheritance diagram for gameclock::HourglassGame:
Inheritance graph
Collaboration diagram for gameclock::HourglassGame:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __str__
def count_players
def dead
def end_turn
def get_turns
def next_clock
def pause
def running
def start
def switch_clock

Public Attributes


Static Public Attributes

int default_fisher = 10
string default_game = "BlitzGame"
int default_players = 2
int default_time = 2
 first_clock = None
 miliseconds = False
string mode = 'blitz'
int turns = 0

Detailed Description

hourglass modelisation

this is like an hourglass on a table that is flipped at the end of each turn

note that this will probably work very well with > 2 players.

Definition at line 272 of file gameclock.py.

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index