Showing 84 open source projects for "2d game code"

View related business solutions
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Get Started Free
  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Sign Up
  • 1
    Tower Building Game

    Tower Building Game

    HTML5 Canvas Tower Building Game

    Tower Building Game is a small game project — likely implementing a classic “tower defense” or “tower-based” game — designed to showcase game-development fundamentals such as rendering, game logic, user interaction, and possibly simple physics or animations. As an open-source repository, tower_game aims not only to deliver a playable game, but also to serve as a learning resource or template: developers can inspect its code, understand how game loops, input handling, asset management, and state updates are organized. ...
    Downloads: 21 This Week
    Last Update:
    See Project
  • 2
    LittleJS

    LittleJS

    The Tiny JavaScript Game Engine That Can!

    LittleJS is a super lightweight 2D JavaScript game engine with fast WebGL rendering. It is designed to be small, simple, and easy to use for various applications, from game jams to commercial releases. This engine has everything necessary to make high-quality games, including fast rendering, physics, particles, sound effects, music, keyboard/mouse/gamepad input handling, update/render loop, and debug tools.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 3
    Ct.js

    Ct.js

    Ct.js is a desktop game engine that makes learning programming fun

    ...The code editor highlights errors and provides documentation right while writing your code. ct.js is based on Pixi.js, works on WebGL and provides great performance in browsers and desktop environments. Modules add new powers, and when ct.js is not enough, you can add any JS code or library. A small stylized adventure with AI-powered sea battles, violent environment, and little puzzle sections.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 4
    LayaAir3.0

    LayaAir3.0

    LayaAir is an open-source 2D/3D engine

    The LayaAir engine is a game engine brand under Layabox . The LayaAir engine not only supports 2D, 3D, AR, VR and other types of game development but also can be used in advertising, marketing, education and other fields. In addition to the release of the HTML5 version, it also supports the release of Native-APP, WeChat mini-games, QQ mini-games, Baidu mini-games, Bilibili mini-games, Douyin mini-games, Toutiao mini-games, Alipay mini-games, OPPO mini-games, and vivo mini-games. ...
    Downloads: 1 This Week
    Last Update:
    See Project
  • Train ML Models With SQL You Already Know Icon
    Train ML Models With SQL You Already Know

    BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

    Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
    Try Free
  • 5
    Blooket Cheats

    Blooket Cheats

    05k0nz's legacy is safe

    Blooket-Cheats is a repository containing scripts and a small web interface for Blooket game modifications. It organizes cheat scripts by game mode and provides methods for loading them through bookmarklets, a GitHub Pages interface, or browser console execution. The repository includes folders for cheats, tutorials, auto-update logic, page styling, and front-end code. From a software perspective, it is a browser-script collection focused on manipulating a web game environment. ...
    Downloads: 1,073 This Week
    Last Update:
    See Project
  • 6
    Phaser Box2D

    Phaser Box2D

    A high-performance, industry-standard 2D physics engine built on Box2D

    Phaser Box2D is a high-performance 2D physics engine built on Box2D v3, tailored for Phaser games. It delivers realistic physics simulations, enhancing the interactivity and engagement of web-based games.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 7
    PlayCanvas Engine

    PlayCanvas Engine

    Fast and lightweight JavaScript game engine built on WebGL and glTF

    PlayCanvas is an open-source game engine. It uses HTML5 and WebGL to run games and other interactive 3D content in any mobile or desktop browser. PlayCanvas is used by leading companies in video games, advertising and visualization such as Animech, Arm, BMW, Disney, Facebook, Famobi, Funday Factory, IGT, King, Miniclip, Leapfrog, Mojiworks, Mozilla, Nickelodeon, Nordeus, NOWWA, PikPok, PlaySide Studios, Polaris, Product Madness, Samsung, Snap, Spry Fox, Zeptolab, Zynga. The PlayCanvas Engine...
    Downloads: 16 This Week
    Last Update:
    See Project
  • 8
    melonJS

    melonJS

    A fresh & lightweight javascript game engine

    ...See our Gallery for a few examples of games powered by melonJS. melonJS integrates the popular Tiled map format, allowing designers easily create levels using the Tiled map editor, and to focus on the game features itself. A fresh and lightweight 2D sprite-based engine. Fast WebGL renderer for desktop and mobile devices with fallback to Canvas rendering.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 9
    Eva.js

    Eva.js

    Eva.js is a front-end game engine for creating interactive projects

    A front-end game engine specifically for creating interactive game projects. Eva.js provides out-of-box game components for developers to use right away. Yes, it's simple and elegant! Eva.js is powered by efficient runtime and rendering pipeline (Pixi.JS) which makes it possible to unleash the full potential of your device. Thanks to the ECS(Entity-Component-System) structure, you can expand your needs by highly customizable APIs. The only limitation is your imagination! Eva.js relies on...
    Downloads: 0 This Week
    Last Update:
    See Project
  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • 10
    Google Snake Mod Loader

    Google Snake Mod Loader

    All Google Snake mods combined into one

    Google Snake Mod Loader is an open-source browser-based modification framework that extends the classic Google Snake game by enabling custom mods, gameplay enhancements, and visual changes directly within the web version of the game. It works by injecting JavaScript into the Google Snake page, allowing users to dynamically alter game behavior without needing to download or modify the original source code. The loader provides a centralized system for managing multiple mods, making it easy to toggle features such as new mechanics, custom maps, altered physics, or additional UI elements. ...
    Downloads: 51 This Week
    Last Update:
    See Project
  • 11
    Sabaki

    Sabaki

    An elegant Go board and SGF editor for a more civilized age

    ...Sabaki is a modern, elegant, cross-platform Go/Baduk/Weiqi board and SGF editor for a more civilized age. It’s free, open source and uses web technology based on Electron. You can see its code, contribute or report an issue at our GitHub repository. Sabaki offers a variety of board markup tools, including the SGF 4-compliant line and arrow tool. Annotate your positions and moves, set hotspots in your favorite games, write reviews in Markdown. Sabaki also supports SGF game containers, saving and reading multiple games within one file. ...
    Downloads: 49 This Week
    Last Update:
    See Project
  • 12
    Flexbox Froggy

    Flexbox Froggy

    A game for learning CSS flexbox

    Flexbox Froggy is an interactive browser game for learning CSS Flexbox. It teaches layout concepts by asking players to move frogs onto lily pads using real CSS properties. The game turns abstract alignment rules into visual challenges, making it easier for beginners to understand how Flexbox behaves. Players practice properties such as justify-content, align-items, flex-direction, order, align-self, flex-wrap, and align-content. The project is localized into many languages through community...
    Downloads: 2 This Week
    Last Update:
    See Project
  • 13
    Grid Garden

    Grid Garden

    A game for learning CSS grid layout

    Grid Garden is an interactive browser game for learning CSS Grid layout. It teaches Grid concepts by asking players to water carrots and avoid weeds using CSS grid properties. The game makes grid placement, sizing, and alignment feel concrete through visual levels instead of static documentation. Learners practice properties such as grid-column-start, grid-column-end, grid-row-start, grid-row-end, grid-template-columns, grid-template-rows, and order. The repository includes the web game...
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    CMSS13

    CMSS13

    Contains the code for CM-SS13

    cmss13 is an open source fork of Space Station 13 that adapts the game into a Colonial Marines-inspired setting. Developed and maintained by the cmss13 community, it emphasizes tactical combat, military roleplay, and survival against xenomorph threats. The repository includes the complete source code, sprites, maps, and configuration files needed to run servers or contribute to development. Compared to traditional SS13 forks, cmss13 introduces unique mechanics such as marine squads, advanced weaponry, and alien abilities, offering a combat-heavy multiplayer experience. ...
    Downloads: 3 This Week
    Last Update:
    See Project
  • 15
    Matter.js

    Matter.js

    A 2D rigid body physics engine for the web

    Matter.js is a flexible 2D rigid body physics engine written in JavaScript, designed for use in web applications to simulate real-world physical interactions within the browser. It offers a comprehensive set of physics features like gravity, collisions, restitution (bounces), friction, sleeping bodies, and constraint systems that enable developers to build interacting objects with realistic motion. This engine can power everything from dynamic interactive animations and educational...
    Downloads: 8 This Week
    Last Update:
    See Project
  • 16
    TauCeti Classic

    TauCeti Classic

    Frankenstein lived

    TauCetiClassic is an open source fork of Space Station 13 maintained by the Tau Ceti Station community. It builds upon the original SS13 codebase, offering a distinct roleplay-focused experience with custom mechanics, sprites, and maps. The repository includes the full game source, assets, and build scripts necessary to host servers and contribute to development. TauCetiClassic emphasizes immersive roleplay scenarios, detailed station environments, and unique content compared to other SS13...
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    Hypackel Engine

    Hypackel Engine

    JavaScript-based game engine designed to empower developers

    Hypackel Engine is a JavaScript-based 2D game engine designed to provide beginner-friendly tools for creating simple games such as platformers, RPGs, and top-down shooters. It focuses on accessibility by offering a lightweight and easy-to-integrate script that developers can import directly into web-based projects. The engine includes built-in systems for handling physics, collisions, rendering, and animation, allowing developers to focus more on gameplay logic rather than low-level implementation details. ...
    Downloads: 4 This Week
    Last Update:
    See Project
  • 18
    British Bingo

    British Bingo

    90-ball bingo with sound

    Play by yourself in a web browser like Chrome or Safari. The game simulates the other players. Runs best on a desktop computer or laptop. Also tries to adapt to an iPad or tablet. Players can make mistakes and can leave and join. You can cheat and get the game to correctly mark your board. There is no limit to the number of players (try 300,000). You can adjust the speed of the game and most sizes. The game can play for you. You can hear the caller reading out the numbers and the players...
    Downloads: 9 This Week
    Last Update:
    See Project
  • 19
    0 A.D.

    0 A.D.

    0 A.D. is a free, open-source, cross-platform real-time strategy game.

    0 A.D. (pronounced "zero ey-dee") is a cross-platform real-time strategy (RTS) game of ancient warfare. It's a historically-based war/economy game that allows players to relive or rewrite the history of ancient civilizations, each depicted at their peak of economic growth and military prowess.
    Leader badge
    Downloads: 171 This Week
    Last Update:
    See Project
  • 20
    Blockly Games

    Blockly Games

    Games for tomorrow's programmers

    Blockly Games is a collection of educational games that teach core programming concepts using Google’s Blockly visual blocks. Each game introduces ideas like sequencing, loops, conditionals, functions, and variables through playful puzzles that gradually increase in difficulty. Under the hood, the block programs compile to JavaScript, giving learners a bridge from drag-and-drop logic to real code. The activities are self-contained and browser-based, requiring no installation, which makes them suitable for classrooms and workshops. ...
    Downloads: 20 This Week
    Last Update:
    See Project
  • 21
    microStudio

    microStudio

    Free, open source game engine online

    ...You don't even need to create an account, you can start working as a guest. microStudio includes all you need to write code, create sprites and maps for your 2D game. All from your web browser. Your project is stored in the cloud, and accessible from anywhere. Write your game code in microScript, a simple language inspired by Lua. The documentation is always there to help. Create cool demos in just a few lines of code. microScript shines by its simplicity and interactivity. ...
    Downloads: 9 This Week
    Last Update:
    See Project
  • 22
    JS_CSS_Poker

    JS_CSS_Poker

    Free Texas Holdem Poker game using HTML5, CSS and JavaScript

    A free online Texas Hold'em poker game written in JavaScript and a web-gui using HTML5 and CSS, all source included Works as a solitaire, it is you against the robots No money - but you will not win that much either. No registration - I am just glad if you give some feedback if you find any problems. All source code included Totally bug free Climate positive Want to see it?
    Leader badge
    Downloads: 11 This Week
    Last Update:
    See Project
  • 23
    UnityMol

    UnityMol

    Molecular viewer and prototyping framework

    !!! New website is https://unity.mol3d.tech and new releases/source code are now on Github : https://github.com/LBT-CNRS/UnityMol-Releases !!!! Implementation of a visualization prototype for molecular structures and networks using the Unity3D game engine. Implementation of numerous graphical methods as spheres, particle systems, bond, etc.. as well as our recent HyperBalls methodology (see: www.hyperballs.sf.net).
    Downloads: 15 This Week
    Last Update:
    See Project
  • 24
    js-css-poker-fxmod
    A free online Texas Hold'em poker game written in JavaScript and a web-gui using HTML5 and CSS, all source included. This project is a mod. The original author/program can be found here: https://sourceforge.net/projects/js-css-poker/ A live demo of my mod is available at: https://js-css-poker-fxmod.sourceforge.io/poker.html You can download my mod in the files tab of this page.
    Downloads: 6 This Week
    Last Update:
    See Project
  • 25
    BlooketUI

    BlooketUI

    The best Blooket Multitool out there

    The best Blooket Multitool out there. A script that uses a graphical user interface to make Blooket cheating easier than ever. Copy the code of src.js by pressing CTRL + A, now paste that into your browser console (CTRL + SHIFT + I). Copy the code from bookmarklet.js by pressing CTRL + A, and create a new Bookmark and paste the code you copied in the URL option.
    Downloads: 17 This Week
    Last Update:
    See Project
  • Previous
  • You're on page 1
  • 2
  • 3
  • 4
  • Next