As the topic says. I’m missing a few of my memories and can’t remember what it was, if anyone remembers please free me from this agony Thank you and happy new year!
import bge
bge.logic.endGame()
Excellent place to look at all of the commands/functions:
http://www.blender.org/documentation/blender_python_api_2_64_9/