JavaScript Games

Open-source JavaScript projects categorized as Games

Top 23 JavaScript Game Projects

  1. 2048

    A small clone of 1024.

    Project mention: Open-Source 2048: Play, Customize, and Learn from the Classic Puzzle Game | news.ycombinator.com | 2024-09-29
  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. A Dark Room

    A Dark Room - A Minimalist Text Adventure

    Project mention: SmartHome: An Adventure Game | news.ycombinator.com | 2024-12-15

    As best I can tell, it's this: https://adarkroom.doublespeakgames.com/ -> https://github.com/doublespeakgames/adarkroom (MPLv2) although when searching for that phrase this is the one that materializes: https://adarkroom.github.io/

    And then, for the "happy 10,000 day" folks: https://hn.algolia.com/?q=universal+paperclips -> https://www.decisionproblem.com/paperclips/ but DO NOT CLICK THAT IF YOU HAVE AN ADDICTIVE PERSONALITY for just like "Multi Undergraduate Destroyer" it will "Oh, is that birds chirping I hear? Well, no problem, just one more click ..."

  4. shapez.io

    shapez is an open source base building game on Steam inspired by factorio!

    Project mention: Shapez2 Released | news.ycombinator.com | 2024-08-20

    The original is open source! https://github.com/tobspr-games/shapez.io?tab=readme-ov-file

  5. untrusted

    A meta-JavaScript adventure game by Alex Nisnevich and Greg Shuflin.

    Project mention: Ask HN: What are you working on? (May 2025) | news.ycombinator.com | 2025-05-25

    I'm working on a programming game called "Pragma Twice". As in, playing the game involves programming. I just put up a steam page for it (https://store.steampowered.com/app/3528840/Pragma_Twice/) and have a demo submitted to Valve for review (which should hopefully be approved any day now, since I'm trying to participate in June's NextFest)

    This game was originally inspired by the game "Untrusted" (https://github.com/AlexNisnevich/untrusted)

  6. Crafty

    JavaScript Game Engine

  7. elevatorsaga

    The elevator programming game!

    Project mention: 🎮 Level Up Your JavaScript Skills with These Fun Games! 🕹️✨ | dev.to | 2025-01-07

    🌐 Check out Elevator Saga here!

  8. Hextris

    Fast paced HTML5 puzzle game inspired by Tetris!

  9. SaaSHub

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

    SaaSHub logo
  10. osgameclones

    Open Source Clones of Popular Games

    Project mention: Why old games never die, but new ones do | news.ycombinator.com | 2025-05-24

    You can check Open Source clones, inspired by, recreations of the engine, etc at OS Game Clones

    https://osgameclones.com/

  11. crossover

    🎯 A Crosshair Overlay for any screen.

  12. quadplay

    The quadplay✜ fantasy console

  13. floppybird

    in case you missed the hype 🐥 (by nebez)

  14. MainLoop.js

    Provides a well-constructed main loop useful for JavaScript games and other animated or time-dependent applications.

  15. YarnClassic

    A tool for writing interactive dialogue in games!

  16. awesome-board-games

    A curated list of awesome and exceptional board games. Please contribute!

    Project mention: 💡 The Untold History of GitHub Awesome-Lists 🤯 | dev.to | 2025-01-21

    You’ll find awesome-lists ranging from mainstream tech topics like awesome-react to random stuff like awesome-falsehoods (”a curated list of falsehoods programmers believe in.”), awesome-board -games (“a curated list of awesome and exceptional board games”) and awesome-veganism (“a curated list of awesome resources, pointers, and tips to make veganism easy and accessible to everyone”).

  17. pacman

    A historical tribute to pac-man (by masonicGIT)

  18. Flappy-2048

    Flappy Bird + 2048

  19. agent

    Universal script based text hooker (powered by FRIDA). (by 0xDC00)

  20. node-virtual-gamepads

    Node virtual gamepads

  21. spaceinvaders

    Classic Space Invaders game written in JavaScript as a learning exercise.

  22. awesomeSheet

    Online Pathfinder Character Sheet

  23. jsynchronous

    Jsynchronous.js - Data synchronization for games and real-time web apps.

    Project mention: Stop Syncing Everything | news.ycombinator.com | 2025-04-01
  24. redux-time

    ∞ High-performance declarative JS animation library for building games, data-viz experiences, and more w/ React, ThreeJS, Inferno, SnabbDOM and others...

    Project mention: Webflow makes GSAP 100% free – plus more updates | news.ycombinator.com | 2025-05-02

    We loved GSAP and wanted to combine that style of rendering with an event-driven programming model with redux so that we could pass animation events from a backend over a websocket.

    Also wanted to keep a bunch of animations on different computers around the world in sync to within ~30ms. Ended up building this library: https://monadical-sas.github.io/redux-time/

  25. QuakeJS

    Fork of inolen/quakejs with additonal content server, local play page, and start-stop script (by begleysm)

  26. SaaSHub

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

    SaaSHub logo
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).

JavaScript Games discussion

Log in or Post with

JavaScript Games related posts

Index

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

# Project Stars
1 2048 12,664
2 A Dark Room 7,591
3 shapez.io 6,631
4 untrusted 4,615
5 Crafty 3,490
6 elevatorsaga 2,457
7 Hextris 2,266
8 osgameclones 1,790
9 crossover 1,039
10 quadplay 915
11 floppybird 581
12 MainLoop.js 537
13 YarnClassic 528
14 awesome-board-games 335
15 pacman 316
16 Flappy-2048 299
17 agent 246
18 node-virtual-gamepads 236
19 spaceinvaders 207
20 awesomeSheet 157
21 jsynchronous 129
22 redux-time 124
23 QuakeJS 114

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com