Skip to content

A classic Chess game, written in ruby. The final TOP project in the ruby curriculum

Notifications You must be signed in to change notification settings

nullbr/chess_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wakatime

A classic Chess game, written in Ruby. It was developed applying Test Driven Development techniques, automating tests with RSpec. This was the final project from TheOddinProject Ruby programming curriculum. The game can be played as multiplayer or against a bot. Play it at Replit!

Ruby Ruby

Rules

If you’ve never played, be sure to read up on the rules (see the Wikipedia Page) first. Also checkout Chess.com

The game is played using chess notation

K: King, Q: Queen, B: Bishop, R: Rook, N: Knight, P: Pawn

x: Capturing, =: Promoting to , +: Check, #: Checkmate

Here's a few examples:

     e4 | Pawn (P ommited) to e4
    Nc4 | Knight to c4
   Qd7+ | Queen to d7, + representing a check
  Kxb5# | King captures at b5, # representing a checkmate
   exf6 | Pawn (from column e) captures at f6
 fxg7=Q | Pawn (from column f) captures at g7 and gets promoted to a Queen

Dependencies

Ruby:

  • "3.1.2"

Gems:

  • rspec
  • ruby_figlet
  • colorize

About

A classic Chess game, written in ruby. The final TOP project in the ruby curriculum

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages