Skip to content

Haseeb-Qureshi/Ruby-Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages