
GAME PROFILE
PYTHON:KINGDOM WARSPYTHON:KINGDOM WARS
This is not a strategy game about clicking fast. You don’t command your army with a mouse. You command it with Python. Write scripts to lead infantry, cavalry, archers, mages, priests, and ballistae into real-time battle against enemy forces. Every move, attack, heal, and spell is decided by your code. The battlefield…
This is not a strategy game about clicking fast.
You don’t command your army with a mouse. You command it with Python.
Write scripts to lead infantry, cavalry, archers, mages, priests, and ballistae into real-time battle against enemy forces. Every move, attack, heal, and spell is decided by your code.
The battlefield changes every frame.
Every decision is yours to script.
You can focus fire and delete the enemy core. You can swarm with cheap infantry and grind your way forward.
You can write pathfinding logic to flank the backline. You can program your priests to keep the front line alive.
How strong your tactics are depends on how smart your code is.
🧠 Rule the battlefield with code
Six unit types, each with unique stats, attack patterns, skills, and cooldowns:
Infantry — Cheap frontliners, ideal for swarms and blocking
Cavalry — High mobility, built for flanking and backline dives
Archers — Ranged damage, but they need protection
Mages — Area damage with long cooldowns and high payoff
Priests — Healing and sustain, deciding the upper limit of long fights
Ballistae — Heavy firepower, slow to move but devastating
You issue move, attack, heal, and cast commands to every soldier, making optimal decisions in a constantly shifting battle.
🎯 Tutorial Levels + AI LLM Challenges
10 Tutorial Levels
Start from zero and learn unit mechanics, map interaction, the command system, and scripting techniques. Even if you’re new to programming, you’ll grow into a battlefield commander step by step.
10 Challenge Levels
Every opponent’s code is pre-generated by an AI large language model. You’re not fighting fixed scripts — you’re fighting intelligent opponents that can adapt their strategies.
Is human tactical intuition stronger, or is the LLM’s algorithm one step ahead?
⚔️ Real Combat Mechanics
Real-time turn-based combat with battlefield state passed every frame
Gold system: kill an enemy and gain half of their recruitment cost
Unit speed determines action frequency — fast and slow units demand real rhythm
Skill cooldowns and area damage reward precise judgment
Grid-based map with up/down/left/right movement and attack boundary checks
🛠️ Built for Steam Commanders
Fully open Python scripting space
Customize pathfinding, attack priorities, and army composition logic
Every match is a direct reflection of your coding ability
Great for: programming enthusiasts, strategy players, AI challengers, teachers, and students.
🏆 Human vs AI — Who is the true king of war?
You won’t face fixed scripts. You’ll face dynamic opponents generated by large language models.
Every challenge is unique. Every victory is earned.
Write your tactics. Watch your code bleed and win on the battlefield.
Challenge AI. Surpass AI. Become the true king of Python: Kingdom War.
Join the battlefield now. Write your war legend in Python.
Feature List
Command your army with Python — script moves, attacks, heals, and spells
Six unit types — Infantry, Cavalry, Archers, Mages, Priests, and Ballistae, each with unique skills and cooldowns
Real-time turn-based battlefield — state updates every frame, speed determines action frequency
Gold economy system — killing an enemy grants half of their recruitment cost
10 tutorial levels — learn mechanics, map interaction, and scripting from scratch
10 AI LLM challenge levels — opponents pre-generated by large language models with dynamic strategies
Fully open scripting space — customize pathfinding, attack priorities, and composition logic
Grid-based map system — up/down/left/right movement and attack boundary checks
For beginners and advanced players alike — also usable as a teaching tool for teachers and students
⚠️ Hardcore Warning: If you have zero Python experience, don’t touch this. Learn Python first, then come back.
This is not a beginner-friendly game.
In the future, programming as a job will be replaced by AI — and programming itself will become a game.
Visual Studio Code (VS Code) is strongly recommended; the game will automatically launch it.
If you don’t even want to set up an editor, this game is not for you.
CHEATS
游戏修改项
当前没有可用修改项
您仍可浏览游戏资料;如后续支持修改器,修改项会显示在这里。
DISCOVER MORE








评论