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

board1::abstractBoard Class Reference

Inheritance diagram for board1::abstractBoard:

board1::Board

List of all members.


Detailed Description

This class administrates a go board.
    It keeps track of the stones currently on the board in the dictionary self.status,
    and of the moves played so far in self.undostack

    It has methods to clear the board, play a stone, undo a move. 

Definition at line 42 of file board1.py.


Public Member Functions

def __init__
def clear
def hasNoLibExcP
def invert
def legal
def neighbors
def play
def remove
def undo

Public Attributes

 boardSize
 status
 undostack

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

Generated by  Doxygen 1.6.0   Back to index