Skip to content

akanshmurthy/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess

Description

Command line version of the classic board game, written in Ruby.

Screenshot

highlight

Features

  • Allows players to navigate the board and select pieces with a cursor.
  • Employs multilevel class inheritance for sliding, stepping, and pawn pieces.
  • Performs custom move validations in a virtual board.

Gameplay instructions

Download this repository. CD into the directory. Run the game.rb file on a terminal with the command: $ ruby game.rb .

Use UP, DOWN, LEFT, and RIGHT on the keyboard to move the cursor, and press SPACE to select a piece. Move to appropriate place on board to and press SPACE again to perform the move. Players should alternate turns.

Upcoming features

  • an AI to play against (using a min max algorithm)
  • more advanced move handling (castling, en passant, etc.)

About

The board game for the terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages