0
Explain this concept
2 odpowiedzi
+ 2
loops are used to loop something for example a the code of a game
how a game works:
1.calculate where everything is
2.clear the screen
3.draw everything
repeat
so in code that would look something like this:
while(GameIsRunning){
calculate()
clearScreen()
drawScreen()
}
+ 2
you need to be specific, learning it with a language will be good