
Learn Python by Farming

Hi everyone 👋
I’ve been working on a small project called Growbit:
It’s a browser-based farming game where you learn Python by actually using it to play. See game video https://www.youtube.com/watch?v=ZM6wNf4NDSI
Instead of clicking buttons, you write Python scripts to control everything:
plant crops
water them
harvest
sell at the market
even handle pests and weather
If your logic is good → your farm thrives
If not → your crops suffer 😄
🌱 Example
for x in range(6):
plant("wheat", x, 0)
water(x, 0)
wait(10)
for x in range(6):
if is_mature(x, 0):
harvest(x, 0)
✨ What’s inside
25 missions teaching Python step by step (loops, conditions, functions, etc.)
Weather system (sunny, rainy, drought… affects crops differently)
Market system with dynamic prices
Pest system (bugs & weeds)
XP, levels, achievements
Monaco editor with real Python syntax
🎮 Why I built this
I felt most “learn to code” platforms are either:
too passive (just reading / quizzes), or
too complex for beginners
So I wanted something:
👉 interactive
👉 visual
👉 and a bit fun
💡 Would love feedback
Is this actually helpful for beginners?
Is the “code → visual result” loop intuitive?
What would make you want to keep playing?
Any feedback (good or bad) is super appreciated 🙏
Loading updates…
Add the badge once and get a single, clean link to your Shipit listing. It helps with SEO and lets visitors discover your product. One snippet: no need to change anything when your standing changes.
The badge updates automatically so it always reflects your current standing. Visitors see your latest status and get a trusted link to your listing. You never have to update the code yourself.
Showing that you're featured or ranked builds trust. Visitors see that real people are engaging with your product, and the badge gives you a credible link back to Shipit.
A single badge looks good on any page and keeps your Shipit presence visible. It's small, loads fast, and gives you one professional link to your listing without clutter.
Sign in to ask the maker a question.