MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / main_screen_selection

Function main_screen_selection

TEXTVENTURE/game.py:284–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

282 - quit
283"""
284def main_screen_selection():
285 option = input("\nWhat would you like to do? 🎮\n> ")
286
287 if option.lower() == "play":
288 play_game()
289
290 elif option.lower() == "help":
291 help_screen()
292
293 elif option.lower() == "quit":
294 quit_game()
295
296 else:
297 print("\nI don't understand that command.\nPlease enter a valid command. ⚠️\n")
298 main_screen_selection()
299
300# ---- Main Screen ---- #
301"""

Callers 2

help_screenFunction · 0.85
main_screenFunction · 0.85

Calls 3

play_gameFunction · 0.85
help_screenFunction · 0.85
quit_gameFunction · 0.85

Tested by

no test coverage detected