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

gameclock::Game Class Reference

Inheritance diagram for gameclock::Game:

gameclock::BlitzGame gameclock::ClassicGame gameclock::FisherGame gameclock::HourglassGame

List of all members.


Detailed Description

the game engine

this regroups two clocks and handles turn switches

to simplify the code logic, this is basically the "Blitz" mode

Definition at line 144 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

Static Public Attributes

 cur_clock = None
 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