A single-player whac-a-mole game for the browser.
Built in vanilla javascript, html and scss. Sass was compiled using the sass executable
sass --watch src/styles/styles.scss dist/css/output.css
- Clone this repository
- Open index.html in your browser of choice
All javascript and pre-compiled sass lives in the src directory.
- background.js sets up the starry night background
- gameplay.js sets up the game logic including score and click tracking