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.
15 lines
488 B
15 lines
488 B
4 years ago
|
*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
|
||
|
|
||
|
2. 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.
|