News: Read the
RULES
before posting.
1 Hour
1 Day
1 Week
1 Month
Forever
November 22, 2024, 11:50:06 AM
Temple of The Roguelike Forums
»
Development
»
Programming
»
Gnomish mines
Home
Help
Search
Login
Register
« previous
next »
Print
Pages: [
1
]
Author
Topic: Gnomish mines (Read 16855 times)
Krice
(Banned)
Rogueliker
Posts: 2316
Karma: +0/-2
Gnomish mines
«
on:
July 01, 2009, 07:14:32 AM »
Looking at the source code of Nethack's gnomish mines generator gives me a headache. Any ideas how the routine actually works? I guess you could generate cavern-like mazes in many ways, but I'm looking for a ready solution so I don't have to think.
Logged
ido
Rogueliker
Posts: 618
Karma: +0/-0
Re: Gnomish mines
«
Reply #1 on:
July 01, 2009, 09:01:50 AM »
A popular way is to use
cellular automata
.
Don't know if it is similar to what nethack is doing, though.
Logged
Krice
(Banned)
Rogueliker
Posts: 2316
Karma: +0/-2
Re: Gnomish mines
«
Reply #2 on:
July 01, 2009, 10:17:15 AM »
Quote from: ido on July 01, 2009, 09:01:50 AM
Don't know if it is similar to what nethack is doing, though.
Nethack's routine looks more cleverer. Maybe I should plan the routine by thinking "what would gnomes do?" I already have a routine which can create dungeon features and mineral vein is probably something that gnomish mines could start with, then digging around and in them for mine activity. Add couple of store rooms and corridors between everything.
Logged
Print
Pages: [
1
]
« previous
next »
Temple of The Roguelike Forums
»
Development
»
Programming
»
Gnomish mines