Quote from: kaywhyn on June 10, 2026, 12:43:49 PMC#
Source code for NL editor:
https://bitbucket.org/namida42/neolemmixeditor/src/master/
Quote from: JawaJuice on June 10, 2026, 11:17:34 AMWhat language is NLEditor written in out of curiosity?
Quote from: Guigui on June 10, 2026, 08:33:31 AMAhah I was just making this computation too, proving that the Lemmings forum is indeed populated with many maths people (but we welcome you too JawaJuice).
So yes, clicking the random ID button and getting the same ID as an already existing levelis about as likely to happen as picking Donald Trump at random among the whole USA population ... which, when you come to think of it, means it can happen !
Interesting reading on the probabilities there though, guys! What language is NLEditor written in out of curiosity? I'd be interested how the Random ID button is implemented, presumably some kind of seeded rand function.Quote from: Simon on June 10, 2026, 06:16:48 AMRight, re-rolled IDs or new-level IDs are unlikely to collide. ID is 64-bit integer (there are 2^64 possible IDs). Birthday problems will start around a billion levels (10^9 levels) with a 1 % to 3 % chance of collision. A sensible upper bound is that a million levels will ever exist. With a million levels, the chance of birthday collision is practically zero; it's around a millionth of a percent.
-- Simon
). Quote from: WillLem on April 29, 2026, 03:43:34 AMUpdate to 'special' - added crystal exit as separate base/top images for upcoming RotL reissue.