| Class | ChessGame |
| In: |
lib/bangkok/chessgame.rb
|
| Parent: | Object |
ChessGame takes a listener in its constructor and creates a Board. The method ChessGame#read_moves reads game data. Calling ChessGame#play moves the pieces, which in turn sends messages to the listener so it can react.