Quote:but it does not return to main method
The return does not return to main because there is nothing to do in main, your code is called by last instruction of main.
What magic stuff do you expect with that return?
Quote:so how can i gt it to repeat the game again?
You need to use a
to repeat some code.