Help to organize game cycle in Java
- by ASIO22
I'm pretty new here (as though to a game development).
So here's my question.
I'm trying to organize a really simple game cycle in my public static main() as follows:
Scanner sc = new Scanner(System.in);
//Running the game cycle
boolean flag=true;
while (flag) {
int action;
System.out.println("Type…