- 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