Skip to content
berubenicPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

218 Commits

Folders and files

Repository files navigation

Chess

CLI Chess game made with Ruby.

  • Built using Object Oriented Programming principles in mind:
    • Encapsulation: Grouping ressembling logic together through classes
    • Abstraction: Letting classes know as little as possible to others
    • Inheritance: Each different piece inherits from the Piece super class
    • Polymorphism: Each different piece can behave like it's parent Piece class
  • Throughly tested using Rspec.
  • Save a match in progress thanks to serialization.

This is the final project for the Ruby Track from The Odin Project

Requirements

Installation

  • Clone the repo locally. (Instructions)

  • cd Chess into the directory.

  • And then execute:

$ bundle install

Demo

fool's mate example

How to Play

  • Run ruby game/game.rb
  • Select Play or Load (to play a previously saved game)

Play Online

  • Play in your browser with repl.it
  • Make sure to zoom in on the console as it tends to feel small

Gems Used

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages