Module: Chess

Defined in:
lib/chess.rb,
lib/chess/game.rb,
lib/chess/board.rb,
lib/chess/pieces.rb,
lib/chess/player.rb,
lib/chess/version.rb,
lib/chess/board_pos.rb,
lib/chess/pieces/king.rb,
lib/chess/pieces/pawn.rb,
lib/chess/pieces/rook.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/display/prompt.rb,
lib/chess/mouse/mouse_input.rb,
lib/chess/mouse/mouse_position.rb

Overview

Chess

Defined Under Namespace

Modules: Display, Mouse, Pieces Classes: Board, Game, Player

Constant Summary collapse

VERSION =

VERSION following semver.org

'0.20.0'

Class Method Summary collapse

Class Method Details

.startvoid

This method returns an undefined value.

calls #start_game the script file at chess/play_game



33
34
35
# File 'lib/chess.rb', line 33

def self.start
  start_game
end