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
-
Clone the repo locally. (Instructions)
-
cd Chessinto the directory. -
And then execute:
$ bundle install- Run
ruby game/game.rb - Select Play or Load (to play a previously saved game)
- Play in your browser with repl.it
- Make sure to zoom in on the console as it tends to feel small
- tty-prompt
- For player input and menus
- figlet
- For creating the title
- pastel
- Terminal output styling
