Game of InBetween in C++