Preview of Punter.jsOpen punterjs.org

punterjs.org

Punter.js

Single-file JavaScript game engine designed for teaching programming to beginners.

Visit project

Show me a random project

First shared
Jul 26, 2026
HN activity
10

Show HN@john-dohertyJul 26, 2026

Show HN: Punter.js – single-file JavaScript game engine for teaching programming

We host work experience students at Orca Scan. This year I mentored one myself. Schools teach programming theory, maybe some Python. Students rarely leave with something to show their friends. When I started coding on a ZX Spectrum, I typed in listings from INPUT magazine. Tweak a number, get more lives, you’re hooked. I wanted that same effect. So I pulled the JS engine we built for OrcaCam out into its own thing: punter.js. One file, ~2000 lines, plain ES5, no dependencies. Starting with Pong, a student can write a working game in an HTML file and have it live in 15 minutes. My goal is to create something simple schools can use to teach programming, but in a way that inspires. Would love your feedback, what do I need to add/improve to achieve this goal?

Community

Hacker News discussion

Loading the thread…