Command line game coming together, stuck on rewinding/looping