5 ms·
CivClicker
- cmdkeen 12y agoMy finger hurts. Good inspiration on how you can put something together fairly quickly. I've been playing with a medieval simulator for a while now - and this has galvanised me to get back into it. Cheers!
- bshimmin 12y agoThe source [0] is kind of an incredible copy and paste achievement. Clearly the author doesn't suffer from the "Last Line effect". [1] Still, it was sort of fun for a minute or two. [0]: http://dhmholley.co.uk/civclicker.js http://dhmholley.co.uk/civclicker.js [1]: https://news.ycombinator.com/item?id=7858612 https://news.ycombinator.com/item?id=7858612
- espadrine 12y ago> * Clearly the author doesn't suffer from the "Last Line effect".* Actually, he failed to put a comma after the `gold = {…}` expression.
- jiggy2011 12y agoThat is nearly 7k lines, what's the chance that it could be re-factored to < 1k with angular/ember?
- dhmholley 12y agoI hope the source isn't too horrible. I was basically a complete javascript novice when I started coding the game. If I were to write it again I'd probably do it very differently, though I still have a lot to learn.
- makmanalp 12y agoThe trick is to reduce parts where you duplicate a lot of code by using generalized functions to abstract things out.
- reitzensteinm 12y agoYou finished it, which is by far the most important thing. Without that, it doesn't matter what the code looks like because you'd have achieved nothing. My first Flash game that I wrote in two weeks had some god awful copy pasted code that made me embarrassed to show anyone. But it made six figures over the years and launched what turned out to be a viable career in game development (I've never had a real job). Code quality is important to work on, but it's just there to help you with the primary goal: shipping something cool. You got there, so fuck the code. Great job.
- Gigablah 12y agoYou got me stuck on your game for two days. I think I might just start coding an incremental game of my own. Cheers!
- lukasm 12y agoGreat! Yesterday I wasted a few hours on this http://adarkroom.doublespeakgames.com http://adarkroom.doublespeakgames.com Do you pine the days of Knights and Merchants? Age of Empires? I wish someone would make game like that. No need for fancy graphics. No MMO. No in-app purchase. Same experience like the old ones have.
- halflings 12y agoThe Civilization series is still pretty good :) The next one will even be a revival of Alpha Centauri.
- ChikkaChiChi 12y agoI too felt this way. I would spend too much time in Dwarf Fortress learning when I could be coding, so that was out. Stronghold looks like the next thing I'll try. Plenty of old games on gog.com right now that are on sale that work on Mac.
- endgame 12y agoSomeone (or several dedicated someones) reimplemented KaM: http://www.kamremake.com/about/ http://www.kamremake.com/about/
- edwintorok 12y ago"0 A.D. originally began as a comprehensive total conversion mod concept for Age of Empires II [...]the team soon turned to trying to create a full independent game based on their ideas" https://en.wikipedia.org/wiki/0_A.D._%28video_game%29 https://en.wikipedia.org/wiki/0_A.D._%28video_game%29
- lukasm 12y agoTried that. Performance is bad and gameplay needs tweaking
- vanilla 12y agodon't stress your fingers ! setInterval(function(){increment(food);increment(wood);increment(stone)},50);
- kennywinker 12y agoI just played through A Dark Room on iOS, and it's probably one of the best phone games I've ever played. Looks similar to this, but used as a storytelling platform in a way that it doesn't look like this (or the web version of a dark room) is to the same extent.
- DanBC 12y agoI am gently worried that I'll play an incremental game that is also mining some kind of crypto coin simultaneously. That sounds unlikely but look at the reddit group for cookie clicker collector - people do leave it running for days.
- Freeboots 12y agoYou can tell if its mining, your machine, laptops especially, will let you know something is up. I do think its an interesting area for development though. I would be ok with a low mining instead of ads.
- sroerick 12y agoWould you play a game that used that as its business model?
- DanBC 12y agoIf they were upfront about it I might. It'd be better than having to remove via IAPs some totally artificial timer.
- makmanalp 12y agoAddicting! One thing is that I have tons of barracks and stables but can't seem to be able to create soliders and cavalry for some reason ...
- RTesla 12y agoReally nice man! I've been playing it for an hour now.
- RTesla 12y agoStill playing it. I seem to be stuck with no ore, but needing ore to get miners to collect ore?