Skip to content

Command Line Interface (CLI) Implementation of Classic Chess Game using Ruby

Notifications You must be signed in to change notification settings

youyoumu/chess-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chess-ruby

Command Line Interface (CLI) Implementation of Classic Chess Game using Ruby

Preview

preview.gif

Feature

  • Colored board
  • Prevent players from making illegal moves
  • Display a warning when the King is in check
  • Checkmate detection
  • Support Pawn Promotion, En Passant, and Castling
  • Function to save game to './save.data'
  • [to do] AI player
  • [to do] Support algebraic notation

How to play

Run on Replit

or

Run locally

Clone this repo and run main.rb with ruby. You must have ruby installed (version 3.2.2 or newer)

Additional notes

This project is part of The Odin Project course Project: Ruby Final Project

About

Command Line Interface (CLI) Implementation of Classic Chess Game using Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages