Game · Released

Kingdom.py

A town builder you play in real Python. Write the scripts your heroes run: build, farm, collect taxes, fight off bandits, trade with six islands. Then script the townsfolk too, down to personalities their children inherit.

Release date
November 5, 2026
Platforms
Windows, Linux
Developer
Kingdom Labs
Publisher
Kingdom Labs
Kingdom.py artwork
Media

Screenshots & videos

Official media supplied by the listed storefronts and publishers.

Screenshots

Videos

Store description

About Kingdom.py

You don't click to build. You write Python.

You start on a small island with one hero, a town hall and a file called main.py:

change_profession(Builder) build(House, 3, 4) build(House, 3, 8)…

Read the full description on Steam ↗
Official sources

Download Kingdom.py

Continue to an official storefront to download or purchase this title.

Kingdom.py artwork
Kingdom.pySteam · Game · Available
From the community

Kingdom.py reviews & player comments

Store ratings and available player reviews. Review snapshots show their last refresh date.

★ 9.3/10Steam · 30 ratings
SteamLast checked November 20, 2026

Most helpful8

Recommended
I am not a coder. I have learnt (very basic) python from games such as farmer was replaced and code: terraform. I love the concept…
Recommended
So far very much enjoying this game. Similar to The Farmer was Replaced but with a lot more depth and more interesting features. Could use…
Recommended
I love programming games. I find this to be a pleasant experience, so far. I am progressing very slowly, but that's a me thing.
Recommended
The game is pretty good. It does what it says on the tin. If you've played The Farmer Was Replaced() then you know what you…
Recommended
I'm having a blast. I would like to note a few things that this game gets right. 1) Progression with a programming game. Not only…
Recommended
If you liked The Farmer Was Replaced and wanted more, that's pretty much what you'll find here. It's more cohesive than Farmer's disjointed mini-puzzles, but…
Not recommended
Not beginner friendly. I don't recommend this one if you are starting out with no experience.
Recommended
I don't leave a lot of reviews, but I really enjoy this game, and I thought I'd also share a minor bug that I'd like…

Most recent8

Recommended
cool, glad to see more games like this becoming enabled through the use of an LLM. really would like vim keybindings though!
Recommended
Good start, looking forward to updates that add more content or just something to do after finishing all the lessons other than optimize.
Recommended
I'm having a blast. I would like to note a few things that this game gets right. 1) Progression with a programming game. Not only…
Recommended
I don't leave a lot of reviews, but I really enjoy this game, and I thought I'd also share a minor bug that I'd like…
Not recommended
Not beginner friendly. I don't recommend this one if you are starting out with no experience.
Recommended
It's a very nice approach to learn/review python and more generally the programming, the quests are very interresting and the progress is well design (you…

Short excerpts linked to their source. The score above uses aggregate storefront ratings—not these few comments.