Chess
Two-player graphical command-line chess with move highlighting, written in Ruby.
Installation
To install, please have ruby 2.3+ installed, clone this repo and run bundle install
to install dependencies. The game executable is game.rb
git clone https://github.com/frescoraja/ruby_chess && cd ruby_chess
bundle install
ruby game.rb
# To enable move highlighting, append hl flag:
ruby game.rb --hl
Features
- Valid-move highlighting: move your cursor to a piece to see all valid moves
for that piece (
ruby game.rb --hl
to enable move highlighting) - Pawn en-passant attack
- Pawn conversion