animated game and the distance of movements are measured and game is designed