Terminal implementation of chess
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Gemfile
Gemfile.lock
README.md
bishop.rb
board.rb
game.rb
king.rb
knight.rb
pawn.rb
piece.rb
queen.rb
rook.rb
sliding_piece.rb
stepping_piece.rb

README.md

Chess

Terminal chess implementation, written in Ruby.

Features

  • Utilizes multiple levels of class inheritance to keep code DRY
  • Allows players to move pieces by navigating game board with a-w-s-d keys

To run:

  1. Download zip here or click "Download ZIP" in the right sidebar. Unzip.
  2. Open command line, and navigate to the chess-master folder.
  3. Run bundle install, then ruby game.rb.
  4. Players will trade off. Use a-w-s-d keys to choose piece to move from and to.