Original Post
I want to create a pause function for my snake game. For example, if the user presses the escape key, it would say quite? and if the person pressed y it would quit. and if the key is n, then it would go back to the game. how can i pause the game without losing information and then going back to it to make a pause function?