Simple game theory calculator, implemented in Ruby