Bottlecap
bottlecap - Lightweight JavaScript 2D Game Engine For Making Cross-Platform Hypercasual Games
Install / Use
/learn @harshdoesdev/BottlecapREADME
bottlecap.js - 2D Game Framework

Table of Contents
About
bottlecap.js is a lightweight 2D game framework written in ES6. It offers a set of modular components, referred to as bottlecaps, that can be easily combined to create engaging 2D games.
Installation and Setup
NPM
npm create vite@latest my-bottlecap-game -- --template vanilla # vanilla-ts for TypeScript
cd my-bottlecap-game
npm i bottlecap
src/main.js:
import * as Bottlecap from 'bottlecap';
// your code
CDN
src/main.js:
import * as Bottlecap from 'https://unpkg.com/bottlecap@latest';
// your code
Docs
Explore the comprehensive documentation in the wiki to get started with bottlecap.js.
Example
Check out the live demo.

Games made using bottlecap
Feel inspired by these creations? Start your own journey with bottlecap.js and join the growing community of game developers. Share your masterpiece and let the world experience your unique vision! If you have a game developed using bottlecap.js that you'd like to showcase, consider adding it to the list by opening a pull request. Happy gaming!
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
