(destination)
| 363 | |
| 364 | # Movement Handler |
| 365 | def movement_handler(destination): |
| 366 | if destination == '': |
| 367 | print("\nYou cannot go that way.\n") |
| 368 | return |
| 369 | |
| 370 | else: |
| 371 | print("\n" + "You moved to the " + destination + ".") |
| 372 | player.location = destination |
| 373 | ZONE_MAP [player.location]["SOLVED"] = True |
| 374 | |
| 375 | show_location() |
| 376 | return |
| 377 | |
| 378 | # Player Movement |
| 379 | def player_move(myAction): |
no test coverage detected