Module: Chess

Defined in:
lib/chess.rb,
lib/chess/version.rb,
lib/chess/game/game.rb,
lib/chess/save/save.rb,
lib/chess/board/board.rb,
lib/chess/pieces/king.rb,
lib/chess/pieces/pawn.rb,
lib/chess/pieces/rook.rb,
lib/chess/pieces/piece.rb,
lib/chess/pieces/queen.rb,
lib/chess/display/board.rb,
lib/chess/display/color.rb,
lib/chess/pieces/bishop.rb,
lib/chess/pieces/knight.rb,
lib/chess/player/player.rb,
lib/chess/display/prompt.rb,
lib/chess/board/board_pos.rb,
lib/chess/save/serializer.rb,
lib/chess/game/valid_moves.rb,
lib/chess/game/win_and_draw.rb,
lib/chess/mouse/mouse_input.rb,
lib/chess/save/fen_from_board.rb,
lib/chess/board/board_from_fen.rb,
lib/chess/mouse/mouse_position.rb,
lib/chess/play_moves/play_king_moves.rb,
lib/chess/play_moves/play_pawn_moves.rb,
lib/chess/play_moves/play_moves_by_type.rb

Overview

Chess

Defined Under Namespace

Modules: BoardFromFenCode, BoardPos, Display, Mouse, Pieces, PlayKingMoves, PlayMovesByType, PlayPawnMoves, Save, ValidMoves, WinAndDraw Classes: Board, Game, Player

Constant Summary collapse

VERSION =

VERSION following semver.org

'0.39.2'

Class Method Summary collapse

Class Method Details

.startvoid

This method returns an undefined value.

calls #start_game the script file at chess/play_game



40
41
42
# File 'lib/chess.rb', line 40

def self.start
  start_game
end