Skip to content

IanDCarroll/xox2

Repository files navigation

Build Status Coverage Status

xox2

A PvP Noughts and Crosses Game

Name origin

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.

Ruby Version and Gem Dependencies

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.

How to Install and Run the Game

To install:
Clone the Repo and cd into the project's root directory.
$ bundle

To run:
$ ruby start_xox.rb

How to Run the Tests

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

About

Minimax Noughts and Crosses Game Made Mid-Apprenticeship

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages