Skip to content

Files

Latest commit

d0e9332 · Jul 4, 2022

History

History
25 lines (17 loc) · 963 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 963 Bytes

Dot Game

My solution to a coding expercie to build a game where dots move from the top to the bottom of the screen. A player tries to click on the dots, and receives points when they are successful. The smaller the dot, the larger the amount of points earned.

The game was supposed to take a few hours to build, and I suspect they expected the solution to use the dom. Since I was spending my free time on this excercise, I thought it would be fun to use this as an excuse to learn more about canvas, so for my solution, the game is rendered in a canvas element.

I'm pretty happy with the results, but didn't receive any feedback on my solution, which they said means it passed. Play the game.

Requirements

Installation

Clone the repo and run npm install to install the dependencies.

Usage

To run locally

npm start

To build for production

npm run build