Battle City (online game)

Battle City is an open source, cross-platform real-time strategy video game. The project was started by tr4c3r in 2004 on SourceForge and eventually completed by CodeMallet in 2005. The project is currently maintained and published by Looble, with the source code available on GitHub. The game is written in C++.

Gameplay
The game starts with players deciding to either build a city or apply for a job in a city built by someone else. Either way, the goal is to defend your city while attacking and destroying enemy cities. All of this is done in real-time from the comfort of your tank.

At the start of the the building period, there is a research phase. During this time players need to be alert and ready to defend their city from attack. All cities have the same buildings, defensive items and offensive weapons once fully constructed, but until fully built, a city will be at it's most vulnerable.

The mayor of a city will build houses, research buildings and factories. Factories produce items which players can use. For example, if a player wishes to attack an enemy city, they will need to equip their tank with the orb, bombs, medkits and various other items produced by factories. If a factory is destroyed during combat, a players will lose all of the corresponding item. This adds a great deal of strategy to the game in terms of attacking and city design.