Haseeb-Qureshi / Ruby-Chess

Chess (written in Ruby)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Chess

Written all in Ruby; runs in console with some slick prompting

You can play the game live on Cloud9 here. The login is guestaccount, password guestaccount. Game can be run by running ruby game.rb in the console.

Features:

  • Chess AI uses greedy cost-benefit heuristics to choose move with highest immediate EV.
  • Can save and load games by serializing game-state to YAML.
  • All pieces inherit from common Piece class, and include "Steppable" and "Slideable" mix-ins to modularize sliding/stepping movement logic.
  • Colorized UI, W-A-S-D input.
  • Highlighting of all potential moves.
  • It works! Play it by your lonely, lonely self!
Note: I'm good at coding chess, not so much at playing.

chess

About

Chess (written in Ruby)


Languages

Language:Ruby 100.0%