Skip to content

MonowarHusain/Tank-Battle-3D

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tank Battle 3D

OpenGL License

A 3D tank battle game built with Python and OpenGL. Navigate the battlefield, destroy enemy tanks, dodge obstacles, and manage your health and accuracy.

This project was developed as the final lab project for CSE423 Computer Graphics.


πŸ‘₯ Credits & Project Details

Course: CSE423 (0.75 Credit Lab)
Supervised by:

  • Farhan Feroz [FHZ]
  • Arian Nuhan [CARN]

Developed by:


Features

  • πŸ›‘ 3D Graphics β€” Rendered with OpenGL, featuring dynamic camera perspectives.
  • πŸ€– Enemy AI β€” Enemy tanks pursue you and retreat upon collision.
  • 🌳 Obstacles β€” Trees and houses block movement and bullets.
  • πŸ’₯ Explosions β€” Visual and particle effects when enemies are destroyed.
  • πŸŽ₯ Camera Modes β€” Toggle between first-person and third-person views.
  • πŸ”§ Cheat Mode β€” Auto-rotation and rapid fire (for testing or fun).
  • ⚑ Power-ups (planned) β€” Health boosts, rapid fire upgrades, and shields.

Controls

Action Keys/Mouse
Move W (forward), S (backward), A (rotate left), D (rotate right)
Turret Q (rotate left), E (rotate right)
Shoot Left-click
Camera V (toggle first-/third-person), Arrow keys (adjust distance/height)
Cheats C (toggle auto-rotation + rapid fire)
Restart R (after game over)

Installation

Requirements

  • Python 3.x
  • Packages: PyOpenGL, PyOpenGL_accelerate, GLUT

Install Dependencies

pip install PyOpenGL PyOpenGL_accelerate

About

Tank Battle 3D πŸ›‘οΈπŸš€ is a fast-paced 3D tank combat game built with Python and OpenGL. πŸ’₯ Destroy enemy tanks, 🌲 dodge obstacles, and πŸŽ₯ master camera angles to survive the battlefield!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages