Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 488 Bytes

File metadata and controls

14 lines (9 loc) · 488 Bytes

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.