FAQ TUBE GAMES BLOG

Title: Battle Tanks
Date: Sep. 2020
Genre: Turn Based Artillery
Platform: Windows | KB, Mouse
Players: 1, 2 (Local)

Download
Source

Battle Tanks

Having used ready-made game engines in all of my university projects, I wanted to break free and explore the simpler, classic style of game development again. Not relying on cookie cutter features, but instead implementing every needed structure and feature by hand.

My goal was to take a simple game concpet, such as "Tank Wars" and recreate it using a standard C# / .NET Winform project. The basis for drawing things onto the screen and performing mathematical operations where thereby granted, allowing me to implement all neccesary classes for the game.

The premise of the game is simple. Two tanks face off against one another on a battlefield. The battlefield is a polygon comprised of multiple curves. Each player has 30 seconds to pick one of the weapon types, then aim their canon and set a force for their shot. The given weapons projectile(s) are then simulated and traced in the respective players color, before impacting. Upon impacting, damage will be dealt to the receiving player based on proximity, as well as the battlefields polygons being manipulated to simulate erosion. The first player to reach zero health points looses.

I deployed various design choices to make the game expandable and easily modifiable. Implementing a generalized Object and Transform class allows for streamlined development, without much specialized code for new features. The usage of easily editable XML tables for the weapons and sprite atlas allow modification to the games weaponry and look, without editing the code!

For a detailed listing of the individual classes and their responsibility:

PDF: Battle Tanks Classes