Skip to content

Commit 693f881

Browse files
minor edits
1 parent 6ae8b09 commit 693f881

File tree

3 files changed

+33
-37
lines changed

3 files changed

+33
-37
lines changed

homeworks-2025/15-16.md

+15-20
Original file line numberDiff line numberDiff line change
@@ -4,44 +4,39 @@
44

55
## Game description
66

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**:
88

99
![game](./../res/walking-circle.png)
1010

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.
1213

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)
1617

1718
## When user presses arrows' keys on keyboard
1819

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
2122
3. up arrow: moves the ball up
2223
4. down arrow: moves the ball down
2324

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)
2530

26-
Circle can walk backward, and get back to the starting position at most.
2731

28-
Please, don't add any requirement by yourself, there is no gravity! no jump (e.g. space key)
32+
## When the game end?
2933

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).
3935

4036
1. Don't draw anything on the screen, not even on the console.
4137
2. User can't restart the game.
4238
3. User can only close the application
4339

44-
4540
---
4641

4742
# Bonus (2 marks)

homeworks-2025/23-24.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
[4 5 6]
1414
[1 2 3]
1515
```
16+
- You can use "X", "O" textures of your own choice.
17+
1618

1719
### When user presses on a number in [1,9] range:
1820

1921
1. If the cell is free, you should add a texture to fill that cell.
2022
2. If the cell is occupied, nothing will happen.
2123

22-
* Use "X", "O" textures of your own choice.
23-
2424

2525
### When the game ends (win-loose or draw):
2626

27-
1. don't draw anything on the screen, not even on the console
28-
2. user can't restart the game.
29-
3. user can only close the application.
27+
1. Don't draw anything on the screen, not even on the console
28+
2. User can't restart the game.
29+
3. User can only close the application.
3030

3131
---
3232

homeworks-2025/7-8.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,35 @@
44

55
## Game description
66

7-
* When running the application, there should be an empty scene, and immediately, one box starts falling down to the ground.
7+
- When running the application, there should be an empty scene, and immediately, one box starts falling down to the ground.
88

99
![game start](./../res/fallen-box-start.png)
1010

11-
* User can use left/right arrows on the keyboard to move the box while the box is moving down.
11+
- User can use only left/right arrows on the keyboard to move the box while the box is moving down.
1212

13-
* Once the box is stable, a second box will start to fall.
13+
- Once the box is stable, a second box will start to fall.
1414

15-
Use [container.jpg](https://learnopengl.com/img/textures/container.jpg) as a texture for the box.
15+
- Use [container.jpg](https://learnopengl.com/img/textures/container.jpg) as a texture for the box.
1616

1717
- The width of the scene should fit 4-5 boxes next to each other.
1818
- The height of the scene should fit 7-8 boxes on top of each other.
1919
- You should be able to control the box dimension from the code (one global variable for the dimension of each box).
20-
- You should be able to contol the speed of the fall from the code.
21-
- Boxes should not intersect (i.e. not allowed to cross each other).
22-
- User can only use left/right arrows
20+
- You should be able to contol the speed of the fall from the code (one global variable).
21+
- Boxes should not intersect (i.e. should not cross each other).
2322
- User can not prevent the box movement.
2423

2524

26-
### When the game ends?
25+
### When the game end?
2726

28-
Game ends when boxes cross the top of the screen (the top of the top-most box might not be visible).
27+
- Game ends when boxes cross the top of the screen.
28+
29+
- note that the top part of the top-most box might not be visible when the game ends
2930

3031
![end-of-game](./../res/fallen-box-end.png)
3132

32-
1. don't draw anything on the screen, not even on the console
33-
2. user can't restart the game.
34-
3. user can only close the application
33+
1. Don't draw anything on the screen, not even on the console
34+
2. User can't restart the game.
35+
3. User can only close the application
3536

3637
---
3738

0 commit comments

Comments
 (0)