Added logic and output for each math step and random motions to make the game more dynamic.