Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dannz510/Tank_Game_V2

Repository files navigation

Tank Battle Game by @Dannz

Welcome to Tank Battle Game! This is a 2D game where you control a tank, survive against waves of enemies, and collect bonuses to boost your performance. Test your skills, strategize, and aim for the highest score!

Table of Contents

Game Overview

In this game, you take control of a tank in a 2D environment. Your goal is to survive against waves of enemies, while also collecting bonuses that can help you in your battle. The game features different terrains, a variety of enemies, and exciting gameplay mechanics.

Installation

  1. Clone this repository to your local machine.
  2. Open the project directory in your preferred development environment.
  3. Open the index.html file in a web browser to start the game.

Online play

Tank

How to Play

  • Use the arrow keys or WASD to control your tank's movement.
  • Aim with the mouse cursor.
  • Shoot by clicking the mouse button.
  • Avoid enemy attacks and collisions with obstacles.
  • Collect bonuses to enhance your tank's abilities and score.

Controls

  • Arrow keys or WASD: Move the tank.
  • Mouse cursor: Aim the tank's turret.
  • Left mouse button: Shoot projectiles.
  • "D" key: Toggle debug mode (if available).

Features

Player Controls

  • Control your tank's movement and turret aiming with intuitive controls.
  • Shoot projectiles to eliminate enemies and obstacles.

Enemies

  • Face waves of enemies with varying behaviors and movement patterns.
  • Enemies pose a threat with their attacks, requiring skillful maneuvering to survive.

Bonuses

  • Collect bonuses that provide temporary power-ups for your tank.
  • Bonuses include health boosts, shield protection, weapon upgrades, and more.

Collision Handling

  • Precise collision detection ensures accurate interactions between tank, enemies, and obstacles.
  • Collision resolution mechanics maintain smooth gameplay and visual effects.

Scoring

  • Your performance is measured by the score you accumulate during gameplay.
  • Strive to achieve the highest score by defeating enemies and collecting bonuses.

Screenshots

Gameplay Screenshot 1 Caption: Engage in intense battles against enemy tanks and navigate through different terrains.

Contributing

Contributions to the game are welcome! Whether you want to fix a bug, implement a new feature, or enhance the gameplay, feel free to submit a pull request. For major changes, it's recommended to open an issue first to discuss your ideas.

License

This game is released under the MIT License.