Module: MailChess
- Defined in:
- lib/mail_chess/game.rb,
lib/mail_chess/board.rb,
lib/mail_chess/player.rb,
lib/mail_chess/pieces/base.rb,
lib/mail_chess/pieces/king.rb,
lib/mail_chess/pieces/pawn.rb,
lib/mail_chess/pieces/rook.rb,
lib/mail_chess/pieces/queen.rb,
lib/mail_chess/pieces/bishop.rb,
lib/mail_chess/pieces/knight.rb
Defined Under Namespace
Modules: Piece Classes: Board, Game, MoveError, Player, PlayerError, TurnError
Constant Summary collapse
- COLS =
Columns of a chessboard
%w[a b c d e f g h]
- ROWS =
Rows of a chessboard
%w[8 7 6 5 4 3 2 1]