5
I need to create the old game. I want to know how to close the black window that appears without having to click any key, for example: When running the program appears:
1 to play
0 to leave
If the user type 0 I want the program to close completely without having to click Enter.