Re: New to ruby questions

From: Jeremy W.

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs