How Did Rogue Generate Its Random Dungeons?
Posted by danschuller 13 hours ago
Comments
Comment by throwlifeaway 5 hours ago
To any game developer planning to call their game with random upgrades a "rogueli[tk]e": play Nethack. Your favorite roguelike was almost certainly created by someone who did.
Comment by genpfault 8 hours ago
Comment by hosel 4 hours ago
Comment by avadodin 7 hours ago
Did it have a specific PRNG and seed?
Was it platform–dependent?
Comment by McGlockenshire 2 hours ago
The article even tells you it's C. The copyright dates on the code are 1980ish. It's talking about rogue, not rogue.exe, so this is going to be on Unix, real Unix. So, it'll be using rand(), the bad one, surely, just by what it is and where it is. That completely answers all your questions.
All you had to do was click links.
edit2: lmao okay so I read the code myself and you'll never, ever guess what it does. It does NOT use rand().