Survival Strategy Thinking with Game Theory for Save the Weak

Suuji de Sukuu! Jakushou Kokka: Akushou Kokka Dentaku de Sensou Suru Houhou wo Motome yo. Tadashi Teki wa Ken to Kayaku de Busou Shite Iru Mono to Suru.
数字で救う! 弱小国家 電卓で戦争する方法を求めよ。ただし敵は剣と火薬で武装しているものとする。

Adaptation

manga

With tensions between the neighboring country rising signaling the presence of a war soon to begin, Soalla, the princess of a small country, worried whether her own country would be able to defend itself with its weak national power. The king was bedridden and the retainers who were her last rays of hope had nothing but the antiquated motto of battle honor in mind. Not one person had a concrete proposal to protect the country, leaving Soalla to wonder if this was where Favell would fall... However, it was then that Naoki appeared before her. A "magician," that left his name in history who possessed the power she desired to save the country.