Skip to content

Commit

Permalink
Wait until user presses a key before closing window in examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbons committed Oct 14, 2021
1 parent d7ce099 commit 239b4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/four_player_game_random_moves.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ def print_state(carcassonne_game_state: CarcassonneGameState):
game.render()

print_state(carcassonne_game_state=game.state)
input("Press Enter to continue...")
1 change: 1 addition & 0 deletions examples/two_player_game_random_moves.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ def print_state(carcassonne_game_state: CarcassonneGameState):
game.render()

print_state(carcassonne_game_state=game.state)
input("Press Enter to continue...")

0 comments on commit 239b4b9

Please sign in to comment.