-
-
Save joooyzee/d15013fee456b7cc8572bcb5e8582e86 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# print the location of all the bombs placed on the Game Map | |
list_of_bombs = game_state.bombs ### list_of_bombs = [(1,1),(2,3)...] | |
for bomb in list_of_bombs: | |
print(f"Bomb at x: {bomb[0]} y: {bomb[1]}") | |
# output: | |
> Bomb at x: 1 y: 1 | |
> Bomb at x: 2 y: 3 | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment