Skip to content

ajberk/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess

A terminal Chess game written in Ruby

#####Interesting Features:

  • Object Oriented Design
  • Uses slideable and steppable classes for pieces to keep the code DRY
  • Custom deep_dup method to check validity of moves without changing the game state
  • Cursor Implementation

To start the game, clone the repo and type "ruby game.rb"

init

The game shows available moves for the chosen piece

move

The game displays error messages when illegal actions are attemped.

error

About

A terminal Chess game written in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages