I researched a lot about game loops but most of the explanations I found credible also stay at a high level. I still don't understand the functionality of the components in a game loop. Let's consider:
while gameIsRunning:
processInput/handleInput/...()
update()
render()
What is the difference between processInput() and update()? Obviously one handles the input and one updates, but that doesn't really explain what they do. Is it correct to assume that the first step to update ONLY the players action and in the following function the rest of the scene? Is the following assumption correct?
def processInput/handleInput/...():
if input == UP:
player.moveUp()
elif input == DOWN:
....
def update():
updateEnemies() # like position etc.