This is a standard human versus computer game. Human will always go first.
There are two versions:
Console:
$ ruby lib/console_game.rb
This plays and outputs to the console.
Arduino:
$ ruby lib/arduino_game.rb
This requires an Arudino hooked up over USB, and displays output to both the console and the Arduino board.
The code for the Arudino deploy is in arduino/