Steadmotron

Post thumbnail

Steadmotron

Mark built the engine over a the last few days in 2019, as part of a Christmas present to three friends he recorded a Hitchhiker’s Guide to the Galaxy podcast with. Dissatisfied with the game engines he found, he attempted to build something as quickly as possible, that could be run and tested in a terminal window, but would then work as a web app that could be packaged up via Electron.

Games are written in simple ES6 notation as NodeJS modules that can be combined together. The steadmotron library contains the entire game engine, and two simple handlers for printing out the story and prompting for input.

https://github.com/iamsteadman/steadmotron

steadmotron-cli

The CLI is a separate NodeJS package used to build game files. Commands like steadmotron play allow the user to play the game in their terminal. steadmotron serve allows the game to be played in-browser, with a style that simulates the text of a Commodore 64. steadmotron build combines the game JavaScript, the engine and the custom HTML and CSS, and produces a simple collection of files that can be hosted online or compiled into an Electron app.

https://github.com/iamsteadman/steadmotron-cli

If you liked this, you might also like these

Podcast Day

A text-adventure game made for Beware of the Leopard

Galactic Notch Fiend

When the notch on the dial is at the top, smash your mouse button or hit the dial with your finger.

Chilcot Radio

A popup Internet radio station broadcasting the entire Chilcot Report, as read by a computerised voice.

Beastie Boys Riffmatch

Memorise the rhymes as the cards are revealed. Then when they flip over, test your memory by matching up the rhyming couplets.

Boris Johnson soundboard

Originally built in 2014 and repurposed for a BBC Three project.