A PvP Noughts and Crosses Game
The game is named after a contender for the first video game, OXO by Sandy Douglas at Cabridge University in 1952. This being the second construction, it is xox2. The 2 can also be a reference to the fact that unlike the first xox, this one is PvP.
Xox uses RVM and Bundle to manage the environment.
The project runs on Ruby 2.4.1. The .rvmrc file is configured to automatically switches to that Ruby version with a seprate Gemset called xox
when you enter the project's root directory.
The gem dependencies are guard-rspec
and rspec-given
for test-driving the code.
To install:
Clone the Repo and cd
into the project's root directory.
$ bundle
To run:
$ ruby start_xox.rb
In a separate terminal window:
$ guard
The tests should run automatically whenever you save the source code or the test suite.
Hit ENTER
to run the tests manually, or (in a separate window):
$ rspec
to exit guard:
> exit