# Re: New to ruby questions

**URL:** <https://www.ruby-forum.com/t/re-new-to-ruby-questions/72622>\
**Category:** Ruby\
**Created:** [October 18, 2006, 10:39am UTC](https://www.ruby-forum.com/t/re-new-to-ruby-questions/72622 "2006-10-18T10:39:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [October 18, 2006, 10:39am UTC](https://www.ruby-forum.com/t/re-new-to-ruby-questions/72622/1 "2006-10-18T10:39:23Z")

</div>

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?
