boom modified game loop logic