You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/6-space-game/5-keeping-score/.github/pre-lecture-quiz.md

488 B

A warm-up quiz about game development

Complete this quiz in class

  1. How do you draw text on a screen using the Canvas element?
  • place text inside a div or span element
  • Call drawText() on the Canvas element
  • Call fillText() on the context object
  1. Why do you have the concept of lifes in a game?
  • to show how much damage you can take.
  • So that the game doesn't end straight away, but you have n number of chances before the game is over.