I made Baldi's Basics Classic in Scratch! WASD or arrow keys to move. Space to run. Running depletes stamina. Stand still to gain stamina, or run into a candy bar and press Q to refill your stamina! If your stamina runs out, you walk a lot slower. Run into a soda and press E to fire it in the direction of the mouse. This can knock back Baldi. If Baldi gets you, it's game over. Collect all the notebooks. Collecting a notebook or answering a question wrong will make him faster. Collect the tape and put it in the tape player to disorient Baldi and make him head to the tape player. Principal will lock you in detention for 5 seconds. Gotta Sweep will move you around (if you're standing still) and he can also carry Baldi, which could help you, or mess up your run. Sock Puppet (Arts & Crafters) will appear for a few seconds after getting the first notebook, and will teleport Baldi to you after you get all four. Once you get the notebooks, run to each exit until you win! That's all, have fun!
Credit to Mystman12, Basically Games, and Micah McGonigal for Baldi's Basics. They're, uh, kinda all the same person...?