JavaScript Game development

Open-source JavaScript projects categorized as Game development

Top 23 JavaScript Game development Projects

Game development
  1. phaser

    Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

    Project mention: How we made JavaScript analyzer understand control flow | dev.to | 2026-10-09

    Phaser gives us a good example of "defensive programming":

  2. SaaSHub

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

    SaaSHub logo
  3. GDevelop

    🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.

  4. A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: Why is Meta destroying its engineering organization? | news.ycombinator.com | 2026-06-16

    Your comparison is like comparing The Eagles to some little local rock band!

    Rather than two competitive products I think these are both market dominant products that reveal the engineering culture, values and impact of the two organizations.

    I can say that when I first started with React I thought it sucked and looked at Vue and Svelte and similar things. My take on all of them was that they made the internal frameworks I was using to build very complex RIAs in the 2005-2010 time frame look like something that fell off a UFO.

    I first thought Vue reflected the way I thought about conventional "webby" applications particularly in terms of treating lists as a first-class object. I eventually learned with React how to draw absolutely anything, even whole 3-d worlds!

    https://aframe.io/

    I guess what I'll say about Svelte is "if you make such a radical change in your framework did you really believe in it?" Early on I stuck to controlled forms in React because uncontrolled forms seemed structurally unstable (add one too many features and it all breaks) and then I discovered

    https://react-hook-form.com/

    which is easy and very high performing.

  5. engine

    Powerful web graphics runtime built on WebGL, WebGPU, WebXR and glTF

  6. shapez.io

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

  7. melonJS

    A modern & fully featured HTML5 game engine (2D & 3D) for JavaScript/TypeScript, with WebGL/WebGPU rendering, built-in physics, Tiled map & glTF support and WebAudio.

    Project mention: MelonJS: Modern and featured HTML5 game engine | news.ycombinator.com | 2026-09-13
  8. whitestorm.js

    :rocket: 🌪 Super-fast 3D framework for Web Applications 🥇 & Games 🎮. Based on Three.js

  9. awesome-gbdev

    A curated list of Game Boy development resources such as tools, docs, emulators, related projects and open-source ROMs.

  10. LittleJS

    Tiny fast 2D/3D HTML5 game engine with many features and no dependencies.

    Project mention: LittleJS – JavaScript Game Engine for 2D and 3D Games | news.ycombinator.com | 2026-10-15
  11. react-native-game-engine

    A lightweight Game Engine for React Native 🕹⚡🎮

  12. ai-game-devtools

    Your AI Game Dev Hub. The ultimate resource hub for AI-powered game development tools. Discover cutting-edge LLMs, World Model, Agent, Code, Image, Texture, Shader, 3D Model, Animation, Video, Audio, Music, Singing Voice and Analytics. 🔥

  13. networked-aframe

    A web framework for building multi-user virtual reality experiences.

  14. sprig

    🍃 Learn to code by making games in a JavaScript web-based game editor. (by hackclub)

  15. quadplay

    The quadplay✜ fantasy console

  16. three-bvh-csg

    A flexible, memory compact, fast and dynamic CSG implementation on top of three-mesh-bvh

    Project mention: I built a browser CAD where you type a sentence and walk through the house | dev.to | 2026-07-12

    The thing that made it viable was three-mesh-bvh + three-bvh-csg: build a bounding-volume hierarchy over the geometry so boolean ops are fast, and — crucially — cache the brush geometry per node so you only re-evaluate what actually changed. The perf cliff between "demo scene with three walls" and "real project with forty" was brutal until that caching went in.

  17. Octo

    A Chip8 IDE

    Project mention: All Data and AI Weekly #220: 15 Dec 2025 | dev.to | 2025-12-15

    GitHub: JohnEarnest/Octo

  18. ZzFX

    A Tiny JavaScript Sound FX System

  19. react-native-game-engine-handbook

    A React Native app showcasing some examples using react-native-game-engine 🐒✨

  20. floppybird

    in case you missed the hype 🐥 (by nebez)

  21. reldens

    Reldens - You can make it - Open Source MMORPG Platform

  22. awesome-gpt-6-astra

    A curated collection of fun games built with GPT-6 Astra, with source code, demos, and prompts. | GPT-6 Astra 游戏精选 (by MartinDelophy)

    Project mention: Turning a README into a Playable Game Catalog | dev.to | 2026-09-08

    GitHub: awesome-gpt-6-astra Live gallery: Astra Games

  23. PokeMMO-Online-Realtime-Multiplayer-Game

    🕹️ A simple realtime Pokémon MMO game build with Phaser 3, Colyseus.io & Webpack 4

  24. GDevelop-extensions

    Repository of behaviors, actions, conditions and expressions to be used in GDevelop for creating games

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 Game development discussion

Log in or Post with

JavaScript Game development related posts

Index

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

# Project Stars
1 phaser 40,658
2 GDevelop 28,790
3 A-Frame 17,692
4 engine 17,278
5 shapez.io 7,003
6 melonJS 6,429
7 whitestorm.js 6,349
8 awesome-gbdev 4,544
9 LittleJS 4,372
10 react-native-game-engine 3,104
11 ai-game-devtools 1,385
12 networked-aframe 1,207
13 sprig 1,117
14 quadplay 969
15 three-bvh-csg 962
16 Octo 865
17 ZzFX 812
18 react-native-game-engine-handbook 624
19 floppybird 600
20 reldens 588
21 awesome-gpt-6-astra 439
22 PokeMMO-Online-Realtime-Multiplayer-Game 339
23 GDevelop-extensions 314

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

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