Skip to content

thedig/Chess-in-Ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess CLI

Command line based Chess game written in Ruby.

Chess Pieces

Each type of chess piece is categorized as either a sliding piece, stepping piece or a pawn (special rules). Subclasses within these categories map to the standard rook, bishop, queen, knight and king. Pawn is given separate set of rules due to special movements (can move two spots on first move, and only forward).

Game successfully verifies if player is in check, if chekc mate has occurred and prevents player from moving into check.

UI / Colorize

Text based command line UI that runs in the terminal, taking move inputs from user. Uses Colorize gem and Unicode chess characters to make a more user friendly / visual experience.

Additional features to come

  • Ability to Castle
  • Tracking of move history
  • Ability to move pieces with keyboard directional instead of input letter/number combos

About

Chess terminal program written in Ruby.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages