mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-20 21:41:47 +02:00
Added intial files for hindi translation
This commit is contained in:
12
6-space-game/4-collision-detection/translations/.github/post-lecture-quiz.hi.md
vendored
Normal file
12
6-space-game/4-collision-detection/translations/.github/post-lecture-quiz.hi.md
vendored
Normal 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
|
14
6-space-game/4-collision-detection/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal file
14
6-space-game/4-collision-detection/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal 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
|
@@ -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 |
|
Reference in New Issue
Block a user