a simple real time strategy game in c++