susam/invaders
View on GitHub ↗ ★ 181 HTML
A 1980s-arcade-style game written using HTML5, Canvas, and Web Audio
11 mentions on Hacker News by 1 person: 2 stories, 9 comments · first 2022-02-14 · latest 2025-07-25
20082026
-
…made it quite easy to get started with developing the game. [1] https://susam.net/invaders.html [2] https://github.com/susam/invaders#why [3] https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API [4]…
comment by susam · 2025-07-25 · in Celebrating 20 Years of MDN -
…is inspired by the four-note loop of the original Space Invaders. Here’s the source code for it: https://github.com/susam/invaders/blob/0.9.0/invaders.html#L...
comment by susam · 2025-03-12 · in Space Invaders -
…I too chose to implement it using plain HTML and JavaScript. I have written more about it here: < https://github.com/susam/invaders#why >. It is very heartwarming to see that we live in an era where computers are pervasive and a 9 year old…
comment by susam · 2024-12-04 · in My son (9 yrs old) used plain JavaScript to make a game, and wants your feedback -
The autopilot algorithm is about a 100 lines of code contained in a single function here: https://github.com/susam/invaders/blob/0.9.0/invaders.html#L... Although the code looks long, the essence of the algorithm is pretty simple. At…
comment by susam · 2024-04-20 · in Show HN: Andromeda Invaders Autopilot Demo -
…lines of code that decides the next move of the player. Direct link to the autoMove() source code: https://github.com/susam/invaders/blob/0.9.0/invaders.html#L...
comment by susam · 2024-02-14 · in Show HN: Auto-play algorithm in action for my single-HTML-page invaders game -
…regarding this thread: I received a pull request that adds pixelated rendering to the game canvas: https://github.com/susam/invaders/pull/4 I have merged it now. Thank you, everyone, for the discussion regarding retro-style rendering on…
comment by susam · 2023-01-22 · in Andromeda Invaders: A retro-style game written in HTML5, Canvas, and Web Audio -
…to this that does not add too much complexity to the code, I would love a pull request for it at https://github.com/susam/invaders .
comment by susam · 2023-01-21 · in Andromeda Invaders: A retro-style game written in HTML5, Canvas, and Web Audio -
…game. It is a standalone HTML page, so you can view source to see the entire source code. Also, see https://github.com/susam/invaders for source code. The levels appear to get very hard very quickly but my friends who initially played this…
comment by susam · 2023-01-21 · in Andromeda Invaders: A retro-style game written in HTML5, Canvas, and Web Audio -
…as a single, standalone HTML file. The game makes use of the Canvas API and the Web Audio API. See https://github.com/susam/invaders for more details. Especially, see the “Technical Details” section of the README for details on graphics…
comment by susam · 2022-03-02 · in Show HN: A 1980s-arcade-style invaders game made with HTML5, Canvas, Web Audio