If you want to try out similar fun, QBasic/QuickBasic are easy to comeby and work in DosBox. Or run QB64 which is compatible, plus offers a ton of other features/plugins. https://qb64.com/samples.html
QB64.com
QB64 is a modern extended BASIC programming language that retains QBasic/QuickBASIC 4.5 compatibility and compiles native binaries for Windows, Linux, and macOS.