July 2018
Intermediate to advanced
400 pages
12h 14m
English
Players will most likely want to quit NyetHack at some point, and currently NyetHack offers no way to do that.
Your challenge is to fix this.
When a user enters “quit” or “exit,” NyetHack should display a farewell message to the adventurer and terminate.
Hint: Remember that, currently, your while loop executes forever – a significant part of solving this puzzle is to end that loop conditionally.
Read now
Unlock full access