JavaScript Gamedev

Open-source JavaScript projects categorized as Gamedev

Top 23 JavaScript Gamedev Projects

  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: TikTikBoom | dev.to | 2026-06-14
  2. Puter.js

    Puter.js - The Backend for AI-Generated Apps. One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.

    Puter.js 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 & lightweight HTML5 game engine

  8. p2.js

    JavaScript 2D physics library

  9. SaaSHub

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

    SaaSHub logo
  10. microstudio

    Free, open source game engine online

  11. lime

    A foundational Haxe framework for cross-platform development (by openfl)

  12. reldens

    Reldens - You can make it - Open Source MMORPG Platform

  13. three-js-games

    👾 The code for my Three.js game dev experiments on YouTube.

  14. GDevelop-extensions

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

  15. GDevelop-examples

    Repository of examples and templates for GDevelop - the open-source, no-code game engine

  16. jsrl

    JavaScript/TypeScript Roguelike Template - The basics to start building your own

  17. javascript-entity-component-system

    A simple and small sized Entity Component System for HTML5 games

  18. textyle

    Web tilemap editor for 2D games built using React JS, WebGL and Rust (WASM).

  19. entity-system-js

    ensy - A very simple Entity System for JavaScript

  20. webgl2-voxels

    WebGL2 experiment with boxels/voxels

  21. MERN-template

    A website template using the MERN stack. It is geared towards Persistent Browser Based Games (think neopets), but is flexible enough for a number of different uses.

  22. game-engine

    Lightweight (~4kb) HTML5 canvas engine suitable for small games, animations and creative programming for people who enjoy coding. No dependencies.

  23. wordled

    A Wordle based game made in Javascript

  24. cloudwithchris.com

    Cloud With Chris is my personal blogging, podcasting and vlogging platform where I talk about all things cloud. I also invite guests to talk about their experiences with the cloud and hear about lessons learned along their journey.

  25. PunchOutModelSynthesis

    Punch Out Model Synthesis - a program for constraint based tiling generation

  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 Gamedev discussion

Log in or Post with

JavaScript Gamedev related posts

  • Isometric.nyc – giant isometric pixel art map of NYC

    2 projects | news.ycombinator.com | 23 Jan 2026
  • Show HN: I generate animated pixel art with AI and Python

    2 projects | news.ycombinator.com | 7 Jan 2026
  • No-Code Game Development: Using AI to Build Your First Game

    2 projects | dev.to | 16 May 2025
  • Gamedev.js Jam 2025 start and theme announcement!

    4 projects | dev.to | 13 Apr 2025
  • What is GDevelop: An Open-Source Game Engine

    1 project | dev.to | 24 Jan 2025
  • Ask HN: Platform for 11 year old to create video games?

    38 projects | news.ycombinator.com | 20 Sep 2024
  • Open-source, cross-platform 2D/3D/multiplayer game engine

    1 project | news.ycombinator.com | 19 Sep 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Jul 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 phaser 39,976
2 GDevelop 24,836
3 A-Frame 17,591
4 engine 16,248
5 shapez.io 6,914
6 melonJS 6,338
7 p2.js 2,694
8 microstudio 1,164
9 lime 843
10 reldens 572
11 three-js-games 277
12 GDevelop-extensions 268
13 GDevelop-examples 147
14 jsrl 138
15 javascript-entity-component-system 106
16 textyle 98
17 entity-system-js 87
18 webgl2-voxels 84
19 MERN-template 76
20 game-engine 71
21 wordled 56
22 cloudwithchris.com 24
23 PunchOutModelSynthesis 19

Sponsored
Puter.js - The Backend for AI-Generated Apps
One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.
developer.puter.com