Dec-22-2019, 05:32 AM
The best move would be to use the pygame Sprite class. Plenty of tutorials and examples out there. You can use one class for your tanks and one for your projectiles. This will also allow you to use the pygame sprite collision to tell when a tank gets hit.
www.101computing.net/creating-sprites-using-pygame/
www.101computing.net/creating-sprites-using-pygame/