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

gameclock::HourglassGame Class Reference

Inheritance diagram for gameclock::HourglassGame:

gameclock::Game

List of all members.


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 265 of file gameclock.py.


Public Member Functions

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

Public Attributes

 cur_clock

Static Public Attributes

 first_clock = None
 miliseconds = False
string mode = 'blitz'
int turns = 0

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

Generated by  Doxygen 1.6.0   Back to index