I got to stage 16, after that it was too difficult... I'm going to see if I can make it past any stage past 16! (from that stage, because I can't get past stage 16)
Edit: cleared a bit of confusion on what I was saying
I actually tried taking some time to understand this mechanism. The red, green, and blue rods convert the binary number made by the T-flip flops into segments.
the latest finisher is set whenever anyone hits the top, even if the athlete has already finished. you can fix this by adding a local variable like "_finished" to each of the goals and set it to false, setting it to true when an athlete hits the goal, and then only changing the latest finisher when _finished is false.
I just noticed the variable "debugMode" is created without an underscore at the front. IIRC this will cause the variable to disappear once you reload the scene in any way (or something similar)
I still haven't tested it, although I'll be testing the AI code right now...
EDIT: Just noticed where the variable "debugMode" was created...
Hey! I just noticed that your code isn't working very well on the AHOX Boron, as the BDisk bersion still uses Chives even though any AHOX computer that supports BDisks would think it is AHOX Basic.
I think the only way to fix that is to completely rewrite the OS in AHOX Basic though...