Programmer Shen Mo died suddenly while working overtime, and his soul traveled to the Ninth Prince in the Crane Huating. He was framed by his brothers and demoted to a commoner. After activating the involution system, he used his programming thinking and project management skills to involute crazily: he memorized poetry and practiced martial arts during the day, learned military tactics and formations at night, and used modern logic to crack conspiracy traps. In the imperial examination, he relied on policy theory to crush the children of aristocratic families, in the court, he used mathematical debates to defeat the Taifu, and on the battlefield, he used algorithms to form troops. From a good-for-nothing prince who was despised by everyone, he gradually became a powerful regent, and finally protected his mother and loved ones in the palace struggle of Heji Huating and achieved a counterattack.