HTML Game

Open-source HTML projects categorized as Game

Top 23 HTML Game Projects

  1. You-Dont-Need-JavaScript

    CSS is powerful, you can do a lot of things without JS.

    Project mention: Regex Chess: A 2-ply minimax chess engine in 84,688 regular expressions | news.ycombinator.com | 2026-05-19

    > Similarly, some people write complicated interactive web pages without using JS (…) Obviously, it's not something practical or even optimal.

    There are people who navigate the web with JavaScript turned of, so those experiments do have practical applications.

    There are entire projects around not using JavaScript.

    https://theosoti.com/you-dont-need-js/

    https://github.com/you-dont-need/You-Dont-Need-JavaScript

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. ark-pixel-font

    开源的泛拉丁与泛中日韩像素字体,黑体风格

  4. one-html-page-challenge

    Can you create something cool without modern tools?

  5. awesome-ttygames

    Unix ASCII games

  6. backdooms

    A self-contained game that fits inside a QR code inspired by DOOM 1993 and The Backrooms

    Project mention: Show HN: PicoGPT v2 – GPT in <40 lines of vanilla JavaScript from a QR code | news.ycombinator.com | 2026-02-16
  7. Emulatrix

    Emulator with mobile compatibility designed for running in pure JavaScript pre-ECMAScript 2015 (no WebAssembly). Supports Sega Genesis, 32x, Nintendo, Super Nintendo, GameBoy, GameBoy Color, GameBoy Advance, MAME and DOS.

  8. invaders

    A 1980s-arcade-style game written using HTML5, Canvas, and Web Audio (by susam)

    Project mention: Bitmap fonts make computers feel like computers again | news.ycombinator.com | 2026-04-09

    When I wrote my own Invaders game (which was a childhood dream by the way), I was quite unhappy with the rendering quality of CanvasRenderingContext2D.fillText() on the game canvas. The antialiasing introduced various shades of green whereas I wanted to render the text with a solid monochrome green colour while the glyphs retain their crisp and jagged edges. Using canvas { image-rendering: pixelated } improved the crispiness and jaggedness but it still introduced multiple shades of green.

    I finally decided to take the matter into my own hands, take an IBM PC OEM font or something similar to it, put the bitmaps as integer arrays within my code and use that to render each character text by text. I am very happy with the results.

    You can see it here: https://susam.net/invaders.html

    Everything in this game including the text is drawn with CanvasRenderingContext2D.fillRect().

    The bitmap array is here: https://codeberg.org/susam/invaders/src/branch/main/invaders...

    In fact, I spun off the bitmap array as its own project here: https://codeberg.org/susam/pcface

  9. diablo2

    The Tankazon Resource - a Diablo II mini site.

  10. joycon.js

    Add controller functionality to your JavaScript game.

  11. lofp

    Legends of Future Past, the classic commercial MUD form the 1990's

    Project mention: Developer gave Claude a game's 30-year-old files and brought it back to life | news.ycombinator.com | 2026-04-09
  12. CoinTex

    A cross-platform multi-level game created in Python using Kivy.

  13. Blastar

    Blastar is the game created by Elon Musk.

  14. Fifteen_puzzle_maker

    This is a classic mini-game Fifteen Sliding Puzzle. This option works in the browser, in it you need to specify a regular picture, the program itself will cut the picture into squares and mix them.

  15. DRRP

    DooM RPG Remake Project is a total conversion of Doom RPG game on GZDoom

  16. spritesheet-to-gif

    A free web tool that converts spritesheets into animated GIFs.

  17. INSIDE-ARG

    Documentation for Playdead's INSIDE ARG

  18. not-my-cows

    A canvas game experiment - "Outer space has unleashed its fury! Protect your live stock, your livelihood, your home. It's all you've got left..."

  19. PhishGuard

    PhishGuard is an interactive cyber awareness game designed to educate users about phishing attacks and improve their ability to detect and avoid them.

  20. mbh-firstnes

    From Below. A homebrew game for the NES released in 2020.

  21. cosmicverge

    A systematic, sandbox MMO still in the concept phase. Will be built with Rust atop BonsaiDb and Gooey

  22. sokobang

    sokobang - sokoban puzzle w/ bigbang.coffee

  23. drive-game

    First-person Nürburgring driving simulator — Three.js + a custom 240 Hz physics engine. Web & Android.

    Project mention: Show HN: Web-based Nürburgring driving game – custom physics, synthesized sound | news.ycombinator.com | 2026-06-17

    A first-person Nürburgring driving game that runs in the browser. It leans arcade — keyboard/touch with assists, not a hardcore sim — but the parts I cared most about are the physics and the sound.

    I like racing games with realistic engine behavior, but sometimes I just want a quick drive and can't find a good fit. I love slowroads.io — I wanted something similar but built around race track, so I made this.

    Physics: a 240 Hz rigid body with raycast suspension, combined-slip tires, a clutch launch model, and aero/weather grip — none of it from a game engine. The five cars (Elantra N, 992 GT3 / GT3 RS, a kart, an F1 car) are tuned to their real 0–100 and top speed.

    Sound is synthesized rather than using recorded one — the engine runs in an AudioWorklet, tuned per car against spectrograms of real onboard recordings. The track is real OpenStreetMap geometry with SRTM elevation.

    The initial version of the code was written by Fable 5, then tuned afterward.

    github: https://github.com/esc5221/drive-game

  24. schedule-1-calculator

    Master Schedule 1 mixes! Use the advanced calculator for precise effects, costs, profits & addiction. Features reverse calc & best mix database. Optimize now!

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

HTML Game discussion

Log in or Post with

HTML Game related posts

Index

What are some of the best open-source Game projects in HTML? This list will help you:

# Project Stars
1 You-Dont-Need-JavaScript 20,575
2 ark-pixel-font 4,828
3 one-html-page-challenge 1,412
4 awesome-ttygames 1,033
5 backdooms 643
6 Emulatrix 372
7 invaders 181
8 diablo2 120
9 joycon.js 90
10 lofp 87
11 CoinTex 82
12 Blastar 80
13 Fifteen_puzzle_maker 79
14 DRRP 58
15 spritesheet-to-gif 36
16 INSIDE-ARG 34
17 not-my-cows 34
18 PhishGuard 33
19 mbh-firstnes 27
20 cosmicverge 19
21 sokobang 17
22 drive-game 14
23 schedule-1-calculator 7

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that HTML is
the 8th most popular programming language
based on number of references?