Skip to content

UsersFirst/LittleJS-AI

 
 

Repository files navigation

🚂🤖 LittleJS AI

50+ classic arcade games rebuilt in pure HTML5 — each one a single self-contained file, AI-assisted.

LittleJS is a fast, lightweight, and fully open source HTML5 game engine designed for simplicity and performance.

This repo is a library of LittleJS AI experiments:

  • playable games generated or iterated with AI help
  • starter projects you can fork and remix
  • docs and prompts to improve LittleJS + AI workflows

Want to make a game without writing code? Try the LittleJS GPT!

For advanced users, LittleJS also works great with tools like GitHub Copilot, Codex, and Cursor.

LittleJS and everything in this repository is MIT licensed! See LICENSE for details.

📚 Resources

🛠️ Make Your Own

Each game is one self-contained HTML file — no build step, no external assets, no dependencies. To start:

  1. Copy a file from templates/.
  2. Edit the JavaScript inside the <script> tag.
  3. Open the .html in a web browser.

📝 Templates

Mix in helper scripts to add features: menus.js (DOM menus), soundGenerator.js (procedural SFX), textureGenerator.js (sprite painter), tweakables.js (live value tweaking).

🕹️ Featured Games Made With AI

Playable demos you can fork as starting points for your own games.

Did you make a game you think should be included? Send a pull request!

About

LittleJS AI Games, Tools, and Experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 73.6%
  • JavaScript 26.4%