A command-line game by C++