Teaching an AI to play a simple game using Q-Learning in Ruby | Open Awesome