game can now be finished by pressing esc