The mastermind game from "The Rspec Book" (The Pragmatic Bookshelf)