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

Function show_location

TEXTVENTURE/game.py:408–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406
407# Player Location
408def show_location():
409 print("\n" + ("#" * (4 + len(player.location))) )
410 print("# " + player.location.upper() + " #")
411 print("# " + ZONE_MAP[player.location]["DESCRIPTION"] + " #")
412 print("\n" + ("#" * (4 + len(player.location))) )
413
414# Prompt for Player Input
415def prompt():

Callers 1

movement_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected