|
4 | 4 |
|
5 | 5 | ## Game description
|
6 | 6 |
|
7 |
| -When running the application, there should be a scene **exactly** like this: |
| 7 | +When running the application, there should be a scene **99% similar to this**: |
8 | 8 |
|
9 | 9 | 
|
10 | 10 |
|
11 |
| -Bind the circle with awesomeface.png, and the box with container.jpg (there are 3 boxes only, positioned like the image above) |
| 11 | +- Bind the circle with awesomeface.png, and the box with container.jpg |
| 12 | +- There are 3 boxes only, positioned like the image above. |
12 | 13 |
|
13 |
| -Use these textures specifically: |
14 |
| -1. [awesomeface.png](https://learnopengl.com/img/textures/awesomeface.png) |
15 |
| -2. [container.jpg](https://learnopengl.com/img/textures/container.jpg) |
| 14 | +- Use these textures specifically: |
| 15 | + - [awesomeface.png](https://learnopengl.com/img/textures/awesomeface.png) |
| 16 | + - [container.jpg](https://learnopengl.com/img/textures/container.jpg) |
16 | 17 |
|
17 | 18 | ## When user presses arrows' keys on keyboard
|
18 | 19 |
|
19 |
| -1. right arrow: moves the ball to right |
20 |
| -2. left arrow: moves the ball to |
| 20 | +1. right arrow: moves the ball to the right |
| 21 | +2. left arrow: moves the ball to the left |
21 | 22 | 3. up arrow: moves the ball up
|
22 | 23 | 4. down arrow: moves the ball down
|
23 | 24 |
|
24 |
| -When nothing is pressed, the ball stays in its position. |
| 25 | +- When nothing is pressed, the ball stays in its position. |
| 26 | +- User can move the circle backward to get back to the starting position, not beyond. |
| 27 | +- Intersections between objects is not allowed, i.e. they can not cross each other. |
| 28 | +- Boxes' positions are fixed and should not move at all. |
| 29 | +- Please, don't add any requirement by yourself, there is no gravity! no jump (e.g. space key) |
25 | 30 |
|
26 |
| -Circle can walk backward, and get back to the starting position at most. |
27 | 31 |
|
28 |
| -Please, don't add any requirement by yourself, there is no gravity! no jump (e.g. space key) |
| 32 | +## When the game end? |
29 | 33 |
|
30 |
| -Intersections between objects is not allowed, i.e. they can not cross each other. |
31 |
| - |
32 |
| -## When the game ends? |
33 |
| - |
34 |
| -The game ends when the ball moves beyond the scene (positive X-axis) and disappears completely (not partially). |
35 |
| - |
36 |
| -Boxes' positions are fixed and should not move at all. |
37 |
| - |
38 |
| -Notes: |
| 34 | +- The game ends when the ball moves beyond the scene (positive X-axis) and disappears completely (not partially). |
39 | 35 |
|
40 | 36 | 1. Don't draw anything on the screen, not even on the console.
|
41 | 37 | 2. User can't restart the game.
|
42 | 38 | 3. User can only close the application
|
43 | 39 |
|
44 |
| - |
45 | 40 | ---
|
46 | 41 |
|
47 | 42 | # Bonus (2 marks)
|
|
0 commit comments