Added intial files for hindi translation

This commit is contained in:
Sanjay
2020-12-28 00:01:05 +05:30
parent e673998d7e
commit cc833ce34f
82 changed files with 1794 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
*Complete this quiz after the lesson by checking one answer per question.*
1. In collision detection you compare two
- [ ] circles and whether they intersect
- [ ] rectangles and whether they intersect
- [ ] the distance between two points
2. The reason for implementing a *cooldown* effect is because
- [ ] Making the game harder as you can't repeatedly fire a laser to destroy enemies
- [ ] JavaScript can only produce a certain number of events per time unit, so you need to limit them

View File

@@ -0,0 +1,14 @@
*A warm-up quiz about about game development*
Complete this quiz in class
1. Collision detection is how we detect if two things have collided.
- [ ] true
- [ ] false
2. How can we remove an item from the screen?
- [ ] Call the garbage collector
- [ ] Mark it as dead, only paint *not dead* objects next time we draw the screen
- [ ] Place the item on a negative coordinate

View File

@@ -0,0 +1,11 @@
# Explore Collisions
## Instructions
## Rubric
To better understand how collisions work, build a very small game with a few items that collide. Make them move via keypresses or mouse clicks, and make something happen to one of the items when it is hit. It could be something like a meteor hitting the earth, or bumper-cars. Get creative!
| Criteria | Exemplary | Adequate | Needs Improvement |
| -------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------ | ----------------- |
| | Complete working code sample is produced, with items drawn to canvas, basic collision happening, and reactions occurring | Code is incomplete in some way | Code malfunctions |