Compiles, need help analyzing game.cpp logic.