I need to create the old woman's game. I want to know how to close the black little window that appears without needing to click any key, for example: When you run the program it appears:
1 to play
0 to exit
If the user types 0, I want the program to shut down completely without having to hit Enter.