Skip to content

gregorgatej/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess

A command-line implementation of Chess in Ruby.

Features

  • Complete chess rules implementation for all piece movements
  • Human vs Human gameplay
  • Human vs Computer gameplay
  • Game state persistence (save/load functionality)
  • Check and checkmate detection
  • Full board visualization in the terminal

Example Game Session

Chess Gameplay Demo

Future improvements

  • Stalemate detection and handling
  • Pawn promotion and special moves (castling, en passant)
  • Move undo functionality

Context

This repository is built in the context of The Odin Project Ruby course:
https://www.theodinproject.com/lessons/ruby-chess

About

A command-line implementation of Chess in Ruby.

Resources

Stars

Watchers

Forks

Contributors

Languages