This gem is the "Mastermind" game from "The Rspec Book" (© 2009, The Pragmatic Bookshelf.)
This program is designed to teach the use of Cucumber and Rspec along with the basics of Behaviour Driven Development (BDD) through practical real world examples.
As a learning exercise I have decided to build this program out as a packageable gem via bundler. When and where appropriate I will be deviating from the examples in "The Rspec Book" in order to deal with deprecated methods in the gems used to build and/or test the program. (e.g: Changing mock() to double()).
Clone the repository:
$ git clone [email protected]:JamesAwesome/mastermind.git
Install required gems via bundler:
$ bundle install
$ bundle exec mastermind
Because this is an example program I will not be accepting contributions.
Please however feel free to leave feedback. I am always happy to hear constructive criticism. :)