Revert "Use one level of loop as suggest by P.Wheeler"
In this implementation, a bogus input such as 'boou' will exist the
game.

This reverts commit 71fc816033e1110277ec3302ec7cc823c42eb3ee.