Skip to content

Commit

Permalink
Update pillar2.md, pillar3.md, scene1.md, scene2.md, scene3.md, scene…
Browse files Browse the repository at this point in the history
…4.md, scene3a.md, scene3b.md, scene5.md
  • Loading branch information
neonerz committed Oct 25, 2023
1 parent 56bca50 commit 64809f5
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions pillar2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Yellow Pillar

## Step 1
Use code to get to the top of the yellow pillar. Run the code first to see how it works, and then modify it to complete the bridge.
This program won't get you to the Yellow Pillar. When you use it, you'll see what happens to the AGENT as it tries to make a bridge with blocks. Watch how the agent places the blocks and the mistakes it makes. Then, check the program and fix those mistakes.

#### ~ tutorialhint
It seems like the Agent is placing some of the blocks in the wrong direction.
It looks like the agent is placing some of the blocks in the wrong direction.

```ghost
hoc2023Objectives.pillar_AgentMove()
Expand Down Expand Up @@ -36,5 +36,5 @@ hoc2023Objectives.pillar_AgentPlacePinkWoolBlock(UpDown.Down)
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.54
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
6 changes: 3 additions & 3 deletions pillar3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Green Pillar

## Step 1
Use code to get to the top of the green pillar Run the code first to see how it works, and then modify it to complete the bridge.
Use this code to make a bridge and get to the top of the green pillar. First, run the instructions to see what happens, and then make changes to finish building the bridge. This code has some special parts called "repeat" blocks, which means it does the same thing a number of times.

#### ~ tutorialhint
It seems like the Agent is placing some of the blocks in the wrong direction.
It looks like the agent is placing some of the blocks in the wrong direction.

```ghost
hoc2023Objectives.pillar_AgentMove()
Expand All @@ -31,5 +31,5 @@ for (let i = 0; i < 3; i++ ) {
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.54
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
6 changes: 3 additions & 3 deletions scene1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Food Dispenser

## Step 1
The automatic food dispensor is missing students it can't detect. Read through the code and update it so it's able to find students of all different heights.
The food dispenser that works by itself is not finding some students because it can't see them properly. Look at the code and make it better so it can find students of different heights. Pay attention to how the AI looks for and recognizes students.

#### ~ tutorialhint
Set the ``||hoc2023Objectives:scan <type>||`` block to a `smart` scan.
Try a different setting for the ``||hoc2023Objectives:scan <type>||`` block.


```ghost
Expand All @@ -29,5 +29,5 @@ Set the ``||hoc2023Objectives:scan <type>||`` block to a `smart` scan.
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.54
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
6 changes: 3 additions & 3 deletions scene2.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Lawnmower

## Step 1
Oh no! The Smart Lawnmower isn't too smart! It's running over sprinkler heads breaking them! Read through the code and update it so the lawnmower will first check for sprinkler heads before continuing.
Oops! The Smart Lawnmower isn't too smart right now. It's running over sprinkler heads and causing damage. Let's make it smarter by changing some parts of the code. We'll replace certain blocks with new ones so that the lawnmower first checks for sprinkler heads before it starts cutting the grass.

#### ~ tutorialhint
Make sure the lawnmower is checking to see if there's a sprinkler before cutting the grass.
Remove the cut grass block with one of the other blocks in the tool box.

```ghost
hoc2023Objectives.scene2_GrassCut()
Expand All @@ -31,5 +31,5 @@ Make sure the lawnmower is checking to see if there's a sprinkler before cutting
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.54
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
4 changes: 2 additions & 2 deletions scene3.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Bird Trouble

## Step 1
Now that we'd decoded the obfuscated words, we could see that the birds are being instructed to move the trash with nowhere to dispose of it. Let's update the code so the birds bring the trash to the dumpster.
Now that we've uncovered the secret words, we can tell that the birds are told to pick up the trash, but there's nowhere to put it. Let's update the code by using different instructions so the birds can handle the trash in a better way, like flying it to the dumpster and dropping it there.

#### ~ tutorialhint
Remove the ``||hoc2023Objectives: move trash||`` with the two new blocks we learned. Make sure to add them in the correct order.
Expand Down Expand Up @@ -45,5 +45,5 @@ while (hoc2023.scene3_SearchForGarbage()) {
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.56
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
4 changes: 2 additions & 2 deletions scene3a.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Bird Trouble

## Step 1
We can't quite read the code because some of it is `obfuscated` which means unclear or obscured. Before we could fix the problem we need to decode those words. Let's follow the birds to see if we could figure out what this code is doing.
We can't quite read the code because some of it is `obfuscated` which means unclear or obscured. Before we could fix the problem we need to decode the secret words. Let's follow the birds to see if we could figure out what this code is doing.

#### ~ tutorialhint
No coding is required here. Exit the coding window and follow the birds.
Expand Down Expand Up @@ -46,5 +46,5 @@ while (hoc2023Disable.scene3_ObSearchForGarbage()) {
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.56
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
4 changes: 2 additions & 2 deletions scene3b.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Bird Trouble

## Step 1
You decoded the obfuscated words! We could see there's two unused blocks that might help us. Exit the coding window and see if you could find a dumpster to take the trash to.
You figured out the hidden words! Now, we noticed there are two unused blocks that might be useful. Leave the coding screen and see if you can find a dumpster to put the trash into.

#### ~ tutorialhint
No coding is required here. Exit the coding window and find the dumpster.
Expand Down Expand Up @@ -45,5 +45,5 @@ while (hoc2023Disable.scene3_SearchForGarbage()) {
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.56
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
6 changes: 3 additions & 3 deletions scene4.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# Smart Doorlock

## Step 1
Anyone can access the event logs on the doorlock causing a major privacy and security issue. We need to update the code to make sure only admins can access the event logs.
Anyone can see the records of who has been using the doorlocks, which is a big problem for privacy and safety. We should change the code so that only administrators can look at the event logs.

#### ~ tutorialhint
Update where the code compares the user permissions. Only admins should have access.
Change the part of the code where it checks what kind of user you are. Only administrators should be allowed to access it.

```ghost
hoc2023.scene4_HumanDetected()
Expand Down Expand Up @@ -48,5 +48,5 @@ hoc2023.scene4_WaitMinutes(5)
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.54
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```
4 changes: 2 additions & 2 deletions scene5.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Agent Training

## Step 1
Move the Agents to the training locations that best match the principle they represent.
Use code to move the agents to the training spots that match the principle they represent the most.

```ghost
hoc2023RedAgent.scene5_RedMatchAgent()
Expand All @@ -19,5 +19,5 @@ hoc2023GreenAgent.scene5_GreenMatchAgent()
```

```package
hoc2023-ts=github:ReWrite-Media/hoc2023-ts#v0.0.60
hoc2023-ts=github:ReWrite-Media/hoc2023-ts
```

0 comments on commit 64809f5

Please sign in to comment.