all repos — uStrat @ main

simple turn-based strategy game inspired by uCity, Super Robot Wars, C&C, Fire Emblem

add tips to the README
Derek Stevens
actually remove unused font
Derek Stevens
update readme, license, and remove unused font
Derek Stevens


uStrat is a proof of concept strategy game developed primarily for mobile phones (a little diversion and strategy while you wait in line, for example). It is inspired by games like uCity, Fire Emblem, and Super Robot Wars. uStrat is written in Javascript using HTML5 Canvas and a whole lotta elbow grease.


The map is randomly generated at the beginning of the game. P1 and CPU headquarters are spawned in opposite quadrants of the map. The goal is to build your headquarters up with power generation, factories, and armories (Structures), and build an army of mecha soldiers (Units) equipped to defend the Cities and destroy the enemy’s HQ. The CPU team will be doing the same, but aiming to destroy the Cities.

Resource management is centered around Energy. Each power generation Structure adds a certain amount of Energy to your team’s pool, up to a maximum defined by the sum of the power generation Structures. Building Units, Structures, and Equipment costs energy.

Each Unit has its own strengths and weaknesses; Same goes for the equipment. You can mix and match units and equipment to come up with an arsenal that best matches your strategy.

The game ends when too many cities (or forests!) are destroyed or either HQ is destroyed.



uStrat can be controlled by keyboard (desktop/laptop) or touch (mobile). The game will automatically detect a mobile platform and render the touch controls when necessary. The controls are as follows:



Development and License

The AI sucks and some of the menu mechanics could be refined. Other than critical bugfixes, no further improvements will be made to uStrat in this incarnation, as I have other projects demanding my attention. The code/game itself is licensed under a 2-clause BSD license and the assets, excluding the fonts, are licensed under a creative-commons non-commercial-attributive license (v 4.0). See the LICENSE file for details.

git clone