/chessercise

Find possible moves on a virtual chessboard

Primary LanguageRuby

Chessercise

How to Use

  • Download the contents of this repository into a unique folder.
  • Run "chessercise.rb" in this folder using Ruby on the command line.
  • It will ask you to pick a valid chess piece.
  • It will ask you to select a valid location on the chessboard.
  • It will output all possible moves for this piece.

How to Run Test

  • Run Rspec in this folder on the command line.