Quantcast
Channel: Java Rock/Paper/Scissors Game - Code Review Stack Exchange
Viewing all articles
Browse latest Browse all 5

Answer by kkhipis for Java Rock/Paper/Scissors Game

$
0
0

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 methodwhen you extract self described methods you will see that you don't need comments.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>