A basic game written in C++