C++ simulation game