Also, if anyone can help me to understand how to end the game or any
other things you might find that can help I would greatly
appreciate it.
How about:
while game.get_player_command != 'quit'
...
end
To help manage your game flow?
···
From: Jeremy Woertink