Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Let's create a standard chess board.

>>> board = ChessBoard()
>>> board.nrows
8
>>> board.ncols
8
>>> print board
8 rnbqkbnr
7 pppppppp(more...)

src/c/h/chessmind.core-0.3/chessmind/core/game.py   chessmind.core(Download)
    def __init__(self, diagram=CHESS_BOARD):
        self.start_diagram = diagram
        self.board = board.ChessBoard(self.start_diagram)
        self.moves = []
        self.undone = []
        one.
        """
        self.board = board.ChessBoard(self.start_diagram)
        if not self.undoPossible():
            raise Exception, 'No further undo info'