[HN Gopher] 24a2: An ultra-minimalist game engine ___________________________________________________________________ 24a2: An ultra-minimalist game engine Author : jmlr Score : 37 points Date : 2020-06-27 21:26 UTC (1 hours ago) (HTM) web link (github.com) (TXT) w3m dump (github.com) | derefr wrote: | I feel like, rather than having no sound at all, the ability to | output a PC-speaker-like beep (i.e. turn on/off a fixed- | frequency, fixed-amplitude square wave channel) might be nice. No | parameters because otherwise you might get distracted trying to | trick it into sounding vaguely musical ;) | | I've also always wanted to see something like this but with emoji | for the "graphics." (Emoji are, after all, the standard graphics | resource pack of our era--like DOS box-drawing characters were | for the 80s.) Maybe stick them as labels on a grid of buttons, | resulting in a similar look to _Chip's Challenge_. | saagarjha wrote: | The examples are cute and gave me a "graphing calculator game" | vibe :) | umvi wrote: | I love artificial constraints like this. Really forces you to | innovate | Nzen wrote: | tl;dr A javascript framework with a canvas output of 24x24 grid | of dots. These dots can adopt nine distinct colors. Default input | is arrow keys or mouse click on one of the dots. Includes a short | eight section tutorial and api doc for two classes (game, | gameconfig) and two enumerations (color, direction). Has example | games for snake and 'skiiing' (wall avoidance on a linear path). | ArtWomb wrote: | Nice! I think you could do a port of the classic Milton Bradley | board game "You sunk my Battleship!" with this ;) | | https://en.wikipedia.org/wiki/Battleship_(game) | jsf01 wrote: | Is importing P5 a requirement for this engine to work? I know | "minimal" can mean a lot of things to different people, but I | don't think it P5 adds much that you couldn't trivially do | without it in this case, and by stripping that dependency away | you'd be able to make a very strong case for this being an ultra | minimal engine. ___________________________________________________________________ (page generated 2020-06-27 23:00 UTC)