Skip to content

Commit c1fda57

Browse files
committed
Update pxt.json, blocks/hai2025/shelter1.md
1 parent 2222091 commit c1fda57

2 files changed

Lines changed: 27 additions & 1 deletion

File tree

blocks/hai2025/shelter1.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
### @flyoutOnly true
2+
### @hideIteration true
3+
### @explicitHints true
4+
5+
# Building a shelter
6+
7+
## Step 1
8+
Teach the agent that cobblestone and wood are suitable materials by classifying them as building materials.
9+
10+
#### ~ tutorialhint
11+
Cobblestone and wood are suitable materials to build a shelter out of. Make sure to properly classify them for the agent.
12+
13+
```ghost
14+
hai.buildingMaterials(hai.wood())
15+
hai.buildingMaterials(hai.cobblestone())
16+
hai.buildingMaterials(hai.grass())
17+
```
18+
```template
19+
hai.buildingMaterials(hai.ghostBlock())
20+
hai.buildingMaterials(hai.ghostBlock())
21+
22+
```
23+
```package
24+
hai2025-ts=github:ReWrite-Media/hai2025-ts#v0.0.75
25+
```

pxt.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111
"blocks/hai2025/crafting2.md",
112112
"blocks/hai2025/crafting3.md",
113113
"blocks/hai2025/all_controls.md",
114-
"books/hai2025/crafting4.md"
114+
"books/hai2025/crafting4.md",
115+
"blocks/hai2025/shelter1.md"
115116
],
116117
"testFiles": [],
117118
"targetVersions": {

0 commit comments

Comments
 (0)