JavaScript Game development

Open-source JavaScript projects categorized as Game development

Top 23 JavaScript Game development Projects

  • 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: Looking for unfiltered feedback on my browser-based platform fighter trailer | | 2023-03-15

    Hmm I don't know about tutorials, but I would recommend staying away from the DOM for any game that's real time (so, no React). Instead use a WebGL rendering library like pixi.js. You could also try out a framework/engine like Phaser, which uses pixi under the hood but provides more structure for your project if you're into that.

  • A-Frame

    :a: Web framework for building virtual reality experiences.

    Project mention: Is it worth learning Three.js in 2023 ? | | 2023-03-03

    Right now I believe it's still very niche, but with time it will continue to grow and grow. There are a lot of emerging technologies built on three.js that are barely just starting to get off the ground. It's really the core of most Web XR technologies and will still be here when you are ready if you feel node.js is a safer bet right now. If you don't feel confident math wise for it just yet, you can also look into the frameworks built on top of it like A-Frame to create 3D XR sites and build your knowledge of three.js more slowly over time with a lower bar of entry.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • engine

    Fast and lightweight JavaScript game engine built on WebGL and glTF

    Project mention: Best toolset for building a 3D Website? | | 2023-03-09
  • whitestorm.js

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


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

    Project mention: Does anyone know how to build Shapezio from source? | | 2023-02-08

    apparently the instructions from github are outdated or something

  • melonJS

    a fresh, modern & lightweight HTML5 game engine

    Project mention: Final FLiP Stack Weekly of 2022 | | 2022-12-23
  • GDevelop

    :video_game: Open-source, cross-platform game engine designed to be used by everyone.

    Project mention: Similar tools that aren’t subscription-based? | | 2023-03-21

    GDevelop -

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • react-native-game-engine

    A lightweight Game Engine for React Native 🕹⚡🎮

    Project mention: 2D combat game in React Native | | 2023-02-21
  • LittleJS

    The Tiny JavaScript Game Engine That Can! 🚂

    Project mention: Most popular library to build games in javascript? | | 2022-12-28


  • projectlearn-project-based-learning

    A curated list of project tutorials for project-based learning.

    Project mention: Project Ideas | | 2022-04-03
  • networked-aframe

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

    Project mention: Programming VR experiences on the move | | 2022-09-07

    Hopefully the photo wasn't misleading but this is not (wireless) screen mirroring, rather a networked experience relying on

  • game

    ⚔️ An online JavaScript 2D Medieval RPG. (by delaford)

  • quadplay

    The quadplay✜ fantasy console

    Project mention: does anyone know a game engine the emulates the power and limitations of the snes? | | 2023-01-10

    I know that there are a bunch of "fantasy consoles" that provide constrained programming environments more or less similar to developing on older consoles. Pico-8 and TIC-80 are two well-known ones. Quadplay looks interesting to me, probably a bit more powerful than the SNES, but in the ballpark, in terms of resolution and color capabilities.

  • bitECS

    Functional, minimal, data-oriented, ultra-high performance ECS library written in JavaScript

    Project mention: What is the best ECS API you've seen? | | 2023-01-31

    Phaser 4 is going with bitECS.

  • sprig

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

    Project mention: Open source game console/engine built by teenagers (for teenagers) | | 2022-11-04
  • Octo

    A Chip8 IDE

    Project mention: Is there a pointer equivalent of declaring an array? | | 2023-02-18

    In addition to what other posters suggested, it could be a good idea to try assembly languages as a way to manually work with locations in memory. Something like Octo could be fun if you want to try memory manipulation without worrying about real-world complexities like syscalls and memory alignment. If you want something extra challenging, you could always try x86 / amd64 assembly. Some C compilers even support inline assembly if you want to mix C and assembly.

  • react-native-game-engine-handbook

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

  • floppybird

    in case you missed the hype 🐥 (by nebez)

    Project mention: A Curated List of Docker Desktop Extensions | | 2022-06-18

    Flappy Dock - A forked copy of nebez/floppybird

  • ZzFX

    A Tiny JavaScript Sound FX System / Zuper Zmall Zound Zynth

  • reldens

    Reldens - You can make it - Open Source MMORPG Platform

    Project mention: [Paid] - Game artist / designer for a 2D MRPG | | 2023-02-08

    To have a better idea of what we have now you can check the platform demo: -

  • three-bvh-csg

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

    Project mention: RT/CSG v2, very simple, declarative constructive solid geometry | | 2023-01-22

    rt/csg is a thin abstraction around the amazing three-bvh-csg library by @garrettkjohnson which enables these complex operations to be fast enough for runtime use.

  • HTML5-Canvas-Game-Boilerplate

    Provides a set of default code that makes getting up and running with an HTML5 canvas game very easy.

  • gamedex

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

    Project mention: I Coded Snake but with Portals | | 2022-08-05

    Playable Game

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

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). The latest post mention was on 2023-03-21.

JavaScript Game development related posts


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

Project Stars
1 Phaser 33,767
2 A-Frame 15,141
3 engine 8,195
4 whitestorm.js 5,954
5 5,489
6 melonJS 5,255
7 GDevelop 4,704
8 react-native-game-engine 2,476
9 LittleJS 2,469
10 projectlearn-project-based-learning 1,690
11 networked-aframe 1,052
12 game 875
13 quadplay 809
14 bitECS 630
15 sprig 624
16 Octo 588
17 react-native-game-engine-handbook 537
18 floppybird 520
19 ZzFX 432
20 reldens 320
21 three-bvh-csg 276
22 HTML5-Canvas-Game-Boilerplate 222
23 gamedex 194
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.