Whack-a-Mole is a simple and fun mini-game built with Vite and Vanilla JavaScript.
The goal is to click (or whack!) the mole 🐹 as it appears in one of the holes before it disappears.
Built with a clean, retro-inspired UI and a soft gray theme for a minimal arcade feel.
- Built with Vite for fast development and live reload
- Pure Vanilla JavaScript — no external frameworks
- Simple game mechanics using DOM manipulation and timers
- Score and timer system to track your performance
- Reset & Start buttons for replayability
- Clean minimalist design inspired by classic computer games
- Clone this repository
git clone https://github.com/tahirainam/Whack-a-Mole.git
- Install Dependencies
npm install
- Start the Development Server
npm run dev