News for hackers. Stuff that matters.
Re:A repository of “BASIC Computer Games” code in modern lan... by kgr on Monday July 31, 2023 @03:35PM (#36947666)
I wrote a BASIC to JS compiler/transpiler that includes all of the programs from "BASIC Computer Games" as examples.

You can try it out in your browser at: https://codepen.io/kgr/full/yLQyLjR

Just select the game you want to to run from the top-left list box, then press the "Compile" button and you'll see the translated JS source in the right text-area. Then press the "Run" button to run it.

The source code for the compiler is available at: https://github.com/kgrgreer/foam3/tree/429f2fd2b4cef0e37996a...

There are no comments on this comment yet.