ickerio / cits3403

0 stars 1 forks source link

Add timer functionality to draw-sketch view #10

Closed HenriScaff closed 6 months ago

HenriScaff commented 6 months ago

Currently, the draw-sketch view just has placeholder text for the timer "00:00".

Add functionality to:

HenriScaff commented 6 months ago

Done. I also added a begin button so the timer doesn't just count down as soon as the page is loaded. Once the begin button is pressed, the timer counts down and the user can draw, change colour and submit. When time runs out and/or the submit button is pressed, the drawing is "submitted" (placeholder functionality at this stage) and the page is reset to its state before the begin button was pressed.