News

This post explains how to use loops in Java. Learn for loops, while loops, do while, break, and continue. All without going loopy!
For example: break and continue. Break is a keyword that will end the loop at any point. This could be useful if you want to let the user hit “esc” to stop the game for instance.