C++ version of Tarras Combat system