I already created the game and the whole game is working fine in the Main method, but I need the game to be in a call by itself, and I need to use the main method to test the program. Please help me.
Printable View
I already created the game and the whole game is working fine in the Main method, but I need the game to be in a call by itself, and I need to use the main method to test the program. Please help me.
You need to tell us more, a lot more, for instance what is not working for you? Just what is the specific problem here? Otherwise all I can do is to say, well create a method to start the game and use the main method to test it.
The general rule of thumb here is the more effort you put into a question usually the better the quality of the answers you receive.
Do you mean that the game has to be in a method which is called by the main method?
CJSL
If you post your current code and then post what you want it to do differently, someone will be able to help you. With the current information you have provided, no one can help solve your problem.