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

Public Member Functions | Static Public Attributes

gameclock::Game Class Reference

Inheritance diagram for gameclock::Game:
Inheritance 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

Static Public Attributes

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

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

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

Generated by  Doxygen 1.6.0   Back to index