Ling Suanshu, a computer prodigy, accidentally stepped into the "NP-complete maze" built by an ancient abacus. Faced with the pressure of the treacherous arithmetic mechanism and the "arithmetic war library", he abandoned violent solutions, used quick sorting to move the arithmetic beads to break the situation, and used the Fibonacci sequence to unlock the mystery. Before the "congruence equation" trap, he had insight into Sun Tzu's theorem; under the attack of probability arithmetic beads, he planned fuzzy mathematics. Witnessing the shortcomings of "mathematical hegemony", Ling Suanshu teamed up with the wise mathematician Sun Zhao and the tenacious mental mathematician Yunzhu to establish the "Arithmetic Peace Association", using algorithmic game theory as a sword and shield to promote the sublimation of wisdom in arithmetic duels. A game about the nature of computing and the ethics of mathematics, in the collision of abacus beads and the aura of algorithms, will eventually lead to the "Convention on the Ethics of Mathematics War" and create a peaceful strategy for the world.