Reaction: replaced delay in game loop with frame counter