Skip to content

Latest commit

ย 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ 2D Tank Game (Pygame)

A simple local 2-player tank game built with Pygame.

Players control tanks on opposite sides of the screen and fire projectiles at each other while managing ammo and health.


๐Ÿ•น Controls

Player 1

  • Move Left: A
  • Move Right: D
  • Aim Up: W
  • Aim Down: S
  • Fire: SPACE

Player 2

  • Move Left: J
  • Move Right: L
  • Aim Up: I
  • Aim Down: K
  • Fire: ENTER

๐Ÿš€ Features

  • Gravity-based projectile physics
  • Cannon angle control
  • Ammo system with cooldown reload
  • Health system
  • Obstacle collision
  • Icon-based health and ammo display

๐Ÿ”ฎ Future Improvements

  • Sound effects for firing and explosions
  • Explosion animations
  • Win screen & restart system
  • AI opponent mode
  • Code refactor into modules (entities/, ui/, physics/)
  • Add menu system

๐Ÿ›  Installation

  1. Clone the repository:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages