CLI game built in Ruby.
- Kept code DRY by extracting common sliding (Queen, Rook, Bishop) and jumping (Knight, King) logic into modules which were mixed into Piece classes.
- Players can select and move pieces across the board using keyboard.
- Download this repository
- Open CLI and navigate to chess directory
- Install gems using the command 'bundle install'
- Run the command
ruby game.rb
to start the game - Follow in-game instructions and have fun!