mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-29 17:40:33 +02:00
Added intial files for hindi translation
This commit is contained in:
18
6-space-game/3-moving-elements-around/translations/.github/post-lecture-quiz.hi.md
vendored
Normal file
18
6-space-game/3-moving-elements-around/translations/.github/post-lecture-quiz.hi.md
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
*Complete this quiz after the lesson by checking one answer per question.*
|
||||
|
||||
1. You always need to redraw the screen
|
||||
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
|
||||
2. What is a game loop?
|
||||
|
||||
- [ ] A function that ensures the game can be restarted
|
||||
- [ ] A function that decided how fast the game should run
|
||||
- [ ] A function that is invoked at regular intervals and draws what the user should see
|
||||
|
||||
3. A good case for redrawing the screen is
|
||||
|
||||
- [ ] A user interaction happened
|
||||
- [ ] Something has moved
|
||||
- [ ] Time has passed
|
19
6-space-game/3-moving-elements-around/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal file
19
6-space-game/3-moving-elements-around/translations/.github/pre-lecture-quiz.hi.md
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
*A warm-up quiz about game development*
|
||||
|
||||
Complete this quiz in class
|
||||
|
||||
1. Any object on the screen can receive keyboard events
|
||||
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
|
||||
2. You can use the same method to listen to key events and mouse events
|
||||
|
||||
- [ ] true
|
||||
- [ ] false
|
||||
|
||||
3. To make things happen at a regular interval, you use what function?
|
||||
|
||||
- [ ] setInterval()
|
||||
- [ ] setTimeout()
|
||||
- [ ] sleep()
|
@@ -0,0 +1,11 @@
|
||||
# Comment Your Code
|
||||
|
||||
## Instructions
|
||||
|
||||
Go over your current /app.js file in your game folder, and find ways to comment it and tidy it up. It's very easy for code to get out of control, and now's a good chance to add comments to ensure that you have readable code so that you can use it later.
|
||||
|
||||
## Rubric
|
||||
|
||||
| Criteria | Exemplary | Adequate | Needs Improvement |
|
||||
| -------- | ------------------------------------------------------------------ | ------------------------------------- | -------------------------------------------------------------- |
|
||||
| | `app.js` code is fully commented and organized into logical blocks | `app.js` code is adequately commented | `app.js` code is somewhat disorganized and lacks good comments |
|
Reference in New Issue
Block a user