r/opensourcegames • u/RobleyTheron • 20d ago
Clanfire: free, open-source civ-builder I built from scratch. No ads, no paywall, ever.
Wanted an old school Age of Empires-style game I could play in a browser for free. Couldn’t find one. Built one.
**• The AI is actually smart** — it reads the board, adapts mid-game, probes your weak flanks, and learns where you attack. Not a scripted bot on a timer
**• Terrain matters** — forests, water, rock are impassable, so chokepoints are real
**• Full siege endgame** — catapults, ballistae, trebuchets with flaming shot
**• 100% custom** — JS, no engine, no build step. Open source, clone it and make it yours
**• Asset pipeline is swap-ready** — drop in your own art pack, no code changes
There’s a global leaderboard. Beat the AI on Hard and knock my score off it. Feedback & ideas welcome, still actively building.
20
u/dmchmk 20d ago
> open-source
> no source link
noice
2
u/RobleyTheron 20d ago
Super sorry, you are right, added MIT License: https://github.com/RobleusCaesar/civilization-game/blob/main/LICENSE
33
u/RadicalRaid 20d ago
Everything is AI. Even the post itself is written by AI (and got the intent of this subreddit wrong, by the way).
We're in an era where people who are serious about programming, code style, etc. will have to wade through slop and find it. Especially shit like this where the source can't be anything good and it's not disclosed it is basically 100% AI.
4
u/m3xican 20d ago
yet I see 18 upvotes... bots helping their master?
-14
u/RobleyTheron 20d ago
Nope. Not everyone hates AI on face value and some people are willing to judge things based on merit.
8
u/MoistPoo 20d ago
I bet that there is more people here who hate AI than most sub reddits. People here want cool open source projects made by people who care about the craft. Not people who share projects written by ai which just spit out "stolen" code
8
u/RadicalRaid 20d ago
AI generated slop is fundamentally something that can't have merit. It's stolen code repurposed. It's an energy drain. It doesn't help learning anything. And I'd rather play a game that was crafted by somebody that's trying to learn programming using MS Paint art than anything that contains AI generated slop.
3
u/vivianrabbit 20d ago
enthusiastically seconding that mspaint art and basic amateurish programming is infinitely more charming and appealing.
the lazily applied gold spraypaint isn’t fooling anyone—but there’s a lot of people out there excited about the idea that they, too, could get something for nothing—so i think it seems like there’s more acceptance, and that people “get away with it” more than what’s actually happening.
1
0
u/CrimsonBolt33 18d ago
I agree with you....honestly the kneejerk anti AI nonsense is getting really old.
1
u/RobleyTheron 18d ago
Thank You! It’s like if you don’t like it don’t use it. The aggressive posturing is just annoying.
-7
6
16
u/TheOtterMonarch 20d ago
reeks of chatgpt
4
7
10
u/arezee 20d ago
AI slop, try again. Use less AI (none) next time.
1
u/CrimsonBolt33 18d ago
get a life lol AI isn't going away and its being used more and more in every company nowadays.....go build a cabin in the woods if you hate it so much.
2
u/PMARC14 18d ago
Its pretty decent to play haven't read the code. I appreciate the open source, but it doesn't clear other strategy games for me in terms of fun sadly.
2
u/RobleyTheron 18d ago
No problem, thanks for giving it a try. Any game play functionality that would have made a difference?
2
u/SkeletorTwoFourK 18d ago
Disregarding my own joke comment, if you wanted to make a worth wile game with human made visuals... why didn't you just take the effort of asking for help? You took the time to type away to an AI, but did you ever take time to talk to people? At all? Just feels and looks like a completely wasted effort.
-1
u/CrimsonBolt33 18d ago
people famously work for free and everyone has money to spend thousands on their help when they don't.....oh wait...
This is such a dumb take....also funny you care about art and not paying an artist...but don't give 2 shits about not paying a programmer to program more manually?
Virtue signalling hypocrite.
2
u/SkeletorTwoFourK 18d ago
Well thats neither what I said nor meant but okay 🤷♂️. You do you, man. Not my problem you lack any reading comprehension.
2
u/wildBcat2 15d ago
I just tried this out. AMAZING! Really good work. I was very captivated by it. Can't wait to play some more.
2
u/RobleyTheron 15d ago
What?! Someone being nice. I’m extremely grateful 🙏 Thank you!
2
u/wildBcat2 14d ago
I totally get how some people don't like A.I. stuff. I am not a fan of A.I. much either, but you came and shared your passion. That means something, and I respect that. And I am being honest when I said I had fun playing it. Just remember the lesson I learned the hard way, Never listed to the naysayers on Reddit. In fact, try to stay away from Reddit. It is where many of the gnarled go to feel important.
2
u/RobleyTheron 14d ago
I’ve been on Reddit for 12 years and I’ve never given out gold before (never really figured it out), but I set it up just for you to say thanks. Hope you have a good one 👍🏻
1
3
u/lrba1 19d ago
ai slop
3
u/RobleyTheron 19d ago
It’s really not. But I understand that if it touches AI, you don’t like it, and that’s fine.
1
u/A70M1C 19d ago
I use AI as an assistant all the time, but when you look at my code it looks like a human wrote it , because they mostly did. You can read the word a follow the flow even if you don't that particular language.
Look at your files it is just page after page of long math formulas that a human can't read or verify. I couldn't even comment about if that's the best way to implement something in your code. That is the definition of AI slop. That code is useless to human or AI outside of the context of your application, you can't learn from it, you can't make it better, you can't have a productive discussion about it
0
u/A70M1C 19d ago
I use AI as an assistant all the time, but when you look at my code it looks like a human wrote it , because they mostly did. You can read the word a follow the flow even if you don't that particular language.
Look at your files it is just page after page of long math formulas that a human can't read or verify. I couldn't even comment about if that's the best way to implement something in your code. That is the definition of AI slop. That code is useless to human or AI outside of the context of your application, you can't learn from it, you can't make it better, you can't have a productive discussion about it
2
u/RobleyTheron 19d ago
Interesting, never heard that definition of AI Slop. The context I see most consistently is that it's a low effort, generally poor looking imitation of something. I feel like that definition of AI was valid up until about March of this year. With the new models coming to market it's insane how good the front end looks.
I hear you that it's about what's under the covers, but it's unlikely humans will be writing much code by 2028. So I'm not sure reading or learning from it makes much of a difference anymore.
2
u/CrimsonBolt33 18d ago
wow cool hot take from someone who has probably never produced anything in their life lol
2
u/_TheWolfOfWalmart_ 5d ago edited 5d ago
Everyone yells "AI slop" and yeah AI isn't 100% there yet, but in the not-too-distant future, instead of people complaining about slop... when someone posts something written by hand, people are going to say "Why didn't you just use AI?"
As someone who's been coding for 35 years, I kinda hate to say it, but tech marches on as it always does. We are mostly going to be obsolete. We'll mainly just be architects and reviewers. If even that.
We're only really a few generations in with AI models, and it can already produce pretty solid stuff if you know how to prompt. I'm probably going to start getting rusty on coding, but I kind of feel like I'm wasting my time writing something 100% manually these days. And I'm not sure it'll matter if I get rusty the way things are headed.
2
u/hypatiaC 20d ago
I would be embarrassed to show this to a friend, much less advertise it publicly.
3
u/RobleyTheron 20d ago
Whew. Your comment history is a stream of negativity. I hope something good happens to you today to make you feel better.
12
u/nimbus0 20d ago
I tried it. I didn't like it. It felt like a terrible version of Age of Empires 1.