/Chess

A terminal Chess game written in Ruby

Primary LanguageRuby

Chess

A terminal Chess game written in Ruby

#####Interesting Features:

  • Object Oriented Design
  • Uses slideable and steppable classes for pieces to keep the code DRY
  • Custom deep_dup method to check validity of moves without changing the game state
  • Cursor Implementation

To start the game, clone the repo and type "ruby game.rb"

init

The game shows available moves for the chosen piece

move

The game displays error messages when illegal actions are attemped.

error