Skip to content

Commit 327da08

Browse files
authored
Enhance animal pen tutorial with explicit hints
Added explicit hints for spawning animals and updated tutorial hints.
1 parent 4310538 commit 327da08

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

tutorials/python-islands/island-7/animal_pens/animal_pen_1.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
### @flyoutOnly true
2-
### @diffs true
32
### @hideDone true
43
### @codeStart players set @s codeExecution 1
54
### @codeStop players set @s codeExecution 0
5+
### @explicitHints true
66

77
# Animal Pen
88

@@ -18,20 +18,25 @@ In this exercise, you will build a program in Python that follows the flowchart
1818
To start, code the part of the flowchart in black by spawning a cow at your position. Use the hint if you need help.
1919
Once complete move onto the next part.
2020

21+
### ~ tutorialhint
22+
The example below spawns a cow at the player position.
2123
```python
2224
mobs.spawn(COW, player.position())
2325
```
24-
- Spawn a cow
26+
2527

2628
## Spawn the animals - 2
2729

2830
![Flow chart of task](https://raw.githubusercontent.com/CausewayDigital/Minecraft-EE-MakeCode/refs/heads/master/tutorials/python-islands/island-7/animal_pens/images/flowchart-landscape_2.png)
2931
Now code the next part of the flowchart which is now shown in black. Use the hint if you need help.
30-
31-
```
32+
33+
### ~ tutorialhint
34+
The example below spawns a cow at the player position.
35+
You need to also spawn a pig and sheep.
36+
```python
37+
mobs.spawn(COW, player.position())
3238
```
33-
- Spawn a pig
34-
- Spawn a sheep
39+
3540

3641
## Extension @showdialog
3742

0 commit comments

Comments
 (0)