Perfect Circle Game: A Fun Challenge for Precision and Accuracy
Introduction
Ever wondered how steady your hand is? Perfect Circle Game challenges you to draw the most accurate circle possible while measuring your precision in real time.
Built with vanilla JavaScript, HTML5 Canvas, and Tailwind CSS, the game is fully client-side, lightweight, and deployable via Docker & Nginx Alpine.
π Live Game and Source Code
- π Play Perfect Circle Game
- ποΈ GitHub Repository
πΉοΈ Features
- Real-time accuracy calculation
- Adjustable difficulty levels
- Dark mode support
- Stats tracking (attempts & average accuracy)
- Responsive design for desktop & mobile
π Quick Setup
π₯ Run with Docker (Recommended)
The game will be available at http://localhost:8687.
Manual Deployment
Just open index.html in your browserβno dependencies needed!
π οΈ Tech Stack
Frontend: Vanilla JS, HTML5 Canvas, Tailwind CSS Deployment: Nginx Alpine, Docker, Docker Compose No Backend Required: Fully client-side
π₯ Challenges & Learnings
Implementing real-time accuracy calculation using geometry Optimizing HTML5 Canvas performance for smooth drawing Seamless deployment with Docker & Nginx Alpine
π― Why I Built This
A mix of fun and technical challenge, this project sharpened my skills in frontend development, optimization, and containerization. Plus, itβs a great way to test hand-eye coordination!