implemented cli, and moved game to game.rb