Winning 2020 microRTS competition

Sep 29, 2020 09:41 ยท 170 words ยท 1 minute read competition ai

The game

microRTS is a small real-time-strategy (RTS) game written in Java. Instead of having multiple complex units and buildings, it has only 4 (worker, light, medium, and large) units and 2 buildings (base and barrack). The world is represented using a small 2-dimensional grid.

For more information, you can read or watch videos on the official website.

The competition

There are two main tracks, Classic and Partial Observability. In the latter, the fog of war is present, each unit has a limited range of vision. Unfortunately, my bot is only implemented for the Classic track. However, with some heuristics, it could also handle the Partial Observability, so maybe for future work ๐Ÿ˜.


results Results link

My bot is ranked 1rst ๐Ÿ†.

You can find the source code of my winning agent on my Github. I did not use any fancy algorithms or search-tree based simulation. The bot is quite fast, so it can be easily used in an RL context, pre-training the policy or directly to play against it.

tweet Share