What exactly do you mean by "I do not know how to get the menu() function to remember the pygame screen setting" ?
Originally Posted by MagnusKGD
If you need your menu function to know something about the pygame screen when it exacutes then pass the values as arguments, or even pass teh screen object as an argument.
Rather than have your menu function call main again, or quit the application - it would be better if your menu faction simply returns which button was clicked. you then have your code :
So could someone give me a hint of how I could handle the following scenario, where the problem is how I could properly tell python to draw the menu, and then by a click on the deal button draw the board and the cards...The game itself works, as I said, it is just the menu I need to allow the player to play again, if they wish.
... Code snipped ...
the while True loop just makes sure the player plays again unless they choose quit.
if menu() == "Quit":