Skip to main content
added 5 characters in body
Source Link
Ethan Bierlein
  • 15.8k
  • 4
  • 59
  • 146

Also extract new methods  - userQuit()userQuit(), checkResult()checkResult(), etc. thenThen your main game loop will fit the screen and, will be easier to maintain, and prettier :).

Avoid useless comments like //main method//main method when you extract self described methods you will see that you dontdon't need comments.

Also extract new methods- userQuit(), checkResult() etc. then your main game loop will fit the screen and will be easier to maintain and prettier :)

Avoid useless comments like //main method when you extract self described methods you will see that you dont need comments.

Also extract new methods  - userQuit(), checkResult(), etc. Then your main game loop will fit the screen, will be easier to maintain, and prettier.

Avoid useless comments like //main method when you extract self described methods you will see that you don't need comments.

Source Link

Also extract new methods- userQuit(), checkResult() etc. then your main game loop will fit the screen and will be easier to maintain and prettier :)

Avoid useless comments like //main method when you extract self described methods you will see that you dont need comments.