human game loop working