News for hackers. Stuff that matters.
Re:Updating “101 Basic Computer Games” for 2021 by dragonwriter on Sunday February 28, 2021 @05:11PM (#26297587)
> IMHO re-implement these using modern ES6 javascript targeting browsers above IE11 (so ES module support is good) and a simple canvas library (or even P5.js) to really capture the original spirit of BASIC

IIRC, nothing in either volume of the original (not sure if this changed in the later update that targeted SmallBasic) used graphics, they were all text-mode, so there's no real need to target a canvas library. Maybe something that provides a simpler abstraction than the DOM for just dropping text onto the page, though, if you don't want all the display in dev tools.

Re:Updating “101 Basic Computer Games” for 2021 by qbasic_forever on Sunday February 28, 2021 @05:17PM (#26297631)
Oh nice, heck you could just say "Step 1: Open your browser's dev console. Step 2: Write this code..." Console.log() and prompt() for all your text I/O needs.