Vibescale Three.js Game Starter Kit for Building Multiplayer Web Games
demo.mp4
- 🎮 Build Multiplayer Web Games Fast
- 🌐 Real-time WebSocket Networking
- 🚀 Cloudflare Edge Deployment
- ⚡ Vite + TypeScript + Three.js
- 🔌 Durable Objects for Game State
- 📚 Comprehensive Documentation
- Bun (Latest version)
- Node.js 18+ (for some development tools)
- A Cloudflare account (for deployment)
- Clone the repository:
bunx tiged benallfree/goodvibes
cd goodvibes
- Install dependencies:
bun install
- Start the development server:
bun run dev
- Open your browser and navigate to
http://localhost:5173
bun run build
Deploy to Cloudflare:
bun run build
bun run deploy
Or use the all-in-one command:
bun run ship
src/
├── game/ # Core game logic and Three.js implementation
├── server/ # Cloudflare Worker and Durable Objects
├── ui/ # User interface components
├── controls/ # Game control handlers
├── types/ # TypeScript type definitions
├── utils/ # Utility functions
├── styles/ # Global styles and Tailwind/DaisyUI
└── config/ # Application configuration
-
Frontend:
- Three.js for 3D rendering
- TypeScript for type safety
- Vite for fast development
- Tailwind/DaisyUI for styling
-
Backend:
- Cloudflare Workers
- Durable Objects for state management
- WebSocket for real-time communication
-
Development:
- Bun as package manager
- TypeScript for type safety
- Vite for build tooling
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.