- Understand the code
- Display a console.log when
p1
touchs the treasure (write code insideupdate
) - Create a new Treasure
t
when the user touchs the treasure - Increments the Player
score
when - Display the score on the canvas
- Add a 2nd player with different keys
wildhamster26 / canvas-treasure-hunt Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ironhack-berlin-2018-october-ft/canvas-treasure-hunt