3Color is an interactive browser puzzle game based on the graph 3-coloring problem.
Live Site: https://3color.vercel.app/
The goal of 3Color is simple: color every circle so that no two connected circles have the same color. The game starts with easier puzzles and gradually introduces more complex graphs that require more careful planning.
This project was built to make graph coloring more visual, playable, and accessible to people without a computer science background.
- 15 progressive campaign levels
- Random graph mode
- Conflict detection
- Recolor, reset, and timer tracking
- Mobile-friendly layout
- Social sharing preview and analytics
- React
- Vite
- JavaScript
- CSS
- Vercel
This project grew out of an earlier 3-coloring algorithm project, where I explored approaches to graph coloring. I built this interactive version to make the concept more visual, playable, and accessible to people without a computer science background.
Clone the repository:
git clone https://github.com/DialoSall/3Color-Simulator.gitMove into the project folder:
cd 3Color-SimulatorInstall dependencies:
npm installStart the development server:
npm run devCreate a production build:
npm run buildPreview the production build locally:
npm run previewTo test the local development version on a phone connected to the same WiFi network:
npm run dev -- --host 0.0.0.0Then open the network URL shown in the terminal on your phone.
- Daily puzzles
- Shareable completion results
- More campaign levels
- User-created puzzle sharing
- Improved challenge tracking
- Optional leaderboard or community puzzle system
Built by Dialo Sall.
