It was stupid, but the rough gist was I realised you could hyperlink between slides, so I made a "choose your own adventure game" like those books that said to turn to page X. But then I wanted inventory, so horrifically I started exponentially making branches of slides where you did and didn't have items. My 9-year old brain spent days hyper-focused making identical copies of all the worlds with secret parts to click. Finally I discovered macros, which helped a lot, before finally finding CMD in Windows and discovering an actual control flow which taught me variables and what not.
I was the older part of the Minecraft era which was my entry into core boolean logic, and SpaceChem taught me parallel flow before entering university.