A vibrant, interactive dot-connection puzzle game built with Vanilla JS and Vite.
- Procedural Generation: Every puzzle is unique and guaranteed to have a solution.
- Interactive Gameplay: Drag to connect dots; supports mouse and touch events.
- Beautiful Visuals: Procedural stone obstacles, dynamic HSL colors, and high-contrast numbered dots.
- Game Logic: Enforces non-crossing paths and correctly tracks puzzle completion.
- Reveal Mode: Toggleable solution view for testing or hints.
- Install dependencies:
npm install
- Start development server:
npm run dev
We provide a multi-stage Dockerfile and a docker-compose configuration for easy deployment.
- Run with one command:
docker compose up -d
- Build the image:
docker build -t connect-dots . - Run the container:
docker run -d -p 80:80 --name dot-game connect-dots
The game will be available at http://your-server-ip.
- HTML5 Canvas
- Vanilla JavaScript
- Vite (Build Tool)
- Nginx (Production Server)