Litter game write in c++