ep3 - game loop