Share your repls and programming experiences

← Back to all posts
Python with Turtle: Shoot each other!
SeamusDonahue (30)

This is the first time I made a game with python(with turtle) I was managed to make it function.

player1: wasd to move and ctrl to bomb
player2: arrow keys to move and shift to bomb

just shoot each other with bombs and bullets!

added an end, the winner is now printed in the middle of the screen and the loser is yeeted off the screen far away (if you can tell me how to delete the loser turtle please do)

suggestions for updates/general feedback appreciated!

as with all python with turtle programs I recommend opening it in a new tab to get the same screen size as was intended and is seen in the editor

Commentshotnewtop
FishingFights (124)

i crashed my browser by holding space lmfao, very cool though

FishingFights (124)

I would suggest shoot delay + reload time (you can essentially make an infinite wall of death atm)

SeamusDonahue (30)

the problem is I cant store global variables because the game runs through turtle.Screen().mainloop(), I will see if I can do it but I'm not sure thanks for the feedback, have a nice day! @FishingFights

SeamusDonahue (30)

never mind @FishingFights I added reloading