Sapphire Chess v0.9.0

Welcome to Sapphire Chess!

This is a chess game written in pure Ruby v2.7.5. Other versions have not been tested yet.

Please, visit https://medium.com/@lucas.sorribes/nostromo-my-ruby-chess-journey-part-i-7ef544b547a5 for a very detailed account of how I wrote this game.


Current Features

  • A beautiful board with easy-to-distinguish colors for white and black pieces.
  • Fully functional AI
  • Two game modes: human vs. computer, human vs. human.
  • Three levels of difficulty.
  • Full chess movement rules implementation, including castling and en passant, for both the human and the computer player.
  • Accepts algebraic notation for movements, with human input validation.
  • Material score display.
  • Player's last move display.

Screenshot

Game screenshot