1 of 1

CPSC 6170 / Tanks

Manas Phanse

Game Description

Inspired by the ‘Tanks!’ lesson on Unity Learn, my project seeks to create an immersive gaming experience with intense tank battles and strategic gameplay. Tanks! is a fast-paced strategy game with an exciting mix of action and tactical decision-making. To win in heated tank combat, players must continually survey the battlefield, navigate difficult terrain, and outmaneuver opponent tanks.

In Tanks!, the primary goal is to destroy opponent tanks. Players must use their tanks' firepower and agility to defeat opposing tanks. To win, players must win at least 2 rounds. The opponent can be either another player or a Computer.

The game's strategic intricacy is in the offensive and defense balancing act. Players must select whether to advance to assault opposing tanks and when to retreat to defend themselves. Players must consider tank positioning and terrain to gain a tactical edge over their opponents. Victory necessitates not just expert tank fighting but also careful preparation and choice-making.

Game Mechanics

Tank Movement: Players drive their tanks with keyboard or gamepad inputs, exploring the terrain to position themselves strategically.

Aiming: Players may aim their tank's turret independently of its mobility, allowing them to target foes precisely.

Shooting: Tanks may launch projectiles like shells or missiles against adversaries, with different armaments providing differing ranges and damage.

Technical Description

  • Assets Used: 3D models like tanks and terrain/arena are imported into the game engine.

  • Levels/User Interface/Game States:
      • Main Menu: Players may start the game, change game mode or quit the game.
    • Victory/Defeat Screens: When players win or lose a match, they receive feedback and return to the main menu.�
  • Collision Detection:
  • Tank and Projectile Collisions: The game engine detects collisions between tanks and projectiles to determine damage and other effects.�
  • Physics:
  • Tank Movement: Tanks move realistically, accounting for terrain height and friction.
  • Interaction with Environment: Tanks interact with their surroundings by colliding with barriers and destructible items.

  • Algorithms:
  • AI Pathfinding: AI-controlled tanks may employ pathfinding (can be modified into A* algorithm) to explore the terrain, determining the quickest path to their destination while avoiding obstacles.

Controls

Tanks get loaded in run-time. Users control both tanks for Player vs. Player. Arrow keys move Blue Tank. The blue tank shoots by the spacebar. However, Red Tank is controlled by A-D-S-W (left-right-down-up equivalent keys). The red tank shoots by X-key.��In the case of Player vs. AI, Red Tank is controlled by AI and Blue Tank is controlled by Player. (using Arrow keys and spacebar).

Game Limitations

Future Work

Future iterations might incorporate cutting-edge graphics and enhanced physics engines to deliver even more immersive and realistic racing experiences.

Game objective

Game Screenshots

AI Pathfinding: Implementing AI pathfinding with the A* algorithm can be difficult, particularly in complicated situations. To overcome this, we will fine-tune the algorithm settings and do extensive testing to ensure smooth and efficient AI movement.

Game Balance: It is critical to balance games to guarantee that all players have an equal and pleasurable experience. We will continue to playtest the game and gather feedback to improve gameplay mechanics and AI behavior.