It's actually pretty simple/dumb. I just tinkered. It only takes 3 steps:
Just pick some random positions for nodes. Any position is valid as long as it isn't too close to an existing node. The number of nodes you choose to add is proportional to the area of the map.
Connect every node to its nearest neighbour node. And have a 50% chance of connecting it to up to 2 more nearby neighbours.
Now you've got a random scattering of nodes, some connected in clumps, you want to join these "islands". So for every node, find all the nodes it can reach via connections, then find the nearest neighbour that ISN'T in this set and connect to it. Repeat this process until there are no separate sets.
That's it!
That said, the output isn't actually that great imo. I have played with more intelligent generation rules. I've got a local version I've been trying to polish into more of a complete game. But finding more mechanics that feel fun, and find a way to balance it better is tricky, so it's not felt good-enough to push up yet.
← Return to game
Comments
Log in with itch.io to leave a comment.
I got to playing against two hard AIs and was defeated. Surprisingly compelling game for how simple it is. Well done!
hi. I'm very interested in how your map is generated... Is it some known algorithm? Or you found solution by yourself?
Hey o/
It's actually pretty simple/dumb. I just tinkered. It only takes 3 steps:
That's it!
That said, the output isn't actually that great imo.
I have played with more intelligent generation rules. I've got a local version I've been trying to polish into more of a complete game. But finding more mechanics that feel fun, and find a way to balance it better is tricky, so it's not felt good-enough to push up yet.
hi this thing is very fun the hard ai is very hard
unable to connect again, no server
Thanks for reporting! Server given CPR and some therapy. Should be good from now on :S
Keeps saying unable to connect, no server found
Whoops again. Thanks for the report! Should be up again now. I need to automate the security certificates refreshing on the server.
I cant uh.. play says something bout a server error.. :/
Ahh thanks for letting me know! Should be alive again now :D
No problem :D
personal highscore: 58 at insane against 3 players.
This just gets better and better! can you make a highscore section? also, loving the new growing difficulty system! great improvements! scored: 40
Awesome game! The presentation is great and the game is very challenging but fun. Great take on the Lux Jam II theme.
great game but ots so soooo hard man!
Thanks! And yeah, sorry about the difficulty. I'll be pushing through fixes for the difficulty and other things once jam voting/judging is over :S
don't worry about it too much! the challenge is quite thrilling!