I just had a crazy idea
The random number generator has a 16 bit seed which generates a list of 65535 random looking numbers before repeating
There are 65535 possible seed values before starting a demo game that will control how that demo game plays
The idea was to write some test code that loads the seed counter with every value from 1 to 65535 and runs a demo and when the demo has ended record the starting seed value and final score in sideways ram
I can then parse the data in sideways ram and cherry pick from this list 10 to 20 of the highest scoring (and hopefully the best playing) demos and add this list of seed values to the game so that it plays the best demos
Luckily I will be seeding before the demo and can run the demos back to back without the 22 second idle time because the the idle time alone without the demo would take 15 days
I talked myself out of doing this (for now) but I might try this experiment![Laughing :lol:]()
The random number generator has a 16 bit seed which generates a list of 65535 random looking numbers before repeating
There are 65535 possible seed values before starting a demo game that will control how that demo game plays
The idea was to write some test code that loads the seed counter with every value from 1 to 65535 and runs a demo and when the demo has ended record the starting seed value and final score in sideways ram
I can then parse the data in sideways ram and cherry pick from this list 10 to 20 of the highest scoring (and hopefully the best playing) demos and add this list of seed values to the game so that it plays the best demos
Luckily I will be seeding before the demo and can run the demos back to back without the 22 second idle time because the the idle time alone without the demo would take 15 days

I talked myself out of doing this (for now) but I might try this experiment

Statistics: Posted by lovebug — Sat Nov 09, 2024 1:12 am