A command line version of chess.
- Object Orientated Programming
- Composition
- Single Responsibility
- Using interfaces
- Test Driven Development
You can also view the game here on Replit. Please note that you cannot install gems such as msgpack in replit. You can play a game, but will not be able to save it. Therefore it is highly recommended to simply clone the repository and install the appropriate gems to enable all features. Make sure to uncomment out msgpack in game.rb!
Make sure you have the Ruby gem downloaded. Here is a good guide Make sure you have the RSpec gem downloaded as well. Which is as easy as
gem install rspec
Next, make sure you have git installed. You can find the guide here
- Clone the repository by running
git clone [email protected]:linkonsat/chess.git
- cd into the appropriate directory that contains the chess game.
cd <The directory here>
- Ensure your on the directory location containing main_game.rb
- enter ruby main_game.rb in the console
- Scaling an application using a Test Driven Development to ensure methods aren't breaking upon scaling up.
- Used an Object Oriented Programming style to create objects to represent separate concerns and build interacting objects with a user facing object.
- How to apply data structures such as a doubly linked list to handle data to enable different ways to manipulate the game state.
- How to use git branches to create feature branches to keep the main branch in a consistently working stable state.