Skip to content

Commit b7ae95e

Browse files
authored
Updating Squares Tutorial (#7094)
Change references from 'Hour of AI' to 'Bug AI' Point to updated video
1 parent 3a7c531 commit b7ae95e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/skillmap/bug-arena/squares.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Welcome to the 👾 **Bug Arena** 👾 where the smartest bugs battle for glory!
77

88
Watch this introduction video to get started, and then click Ok.
99

10-
![Bug Arena Intro](youtube:gu3zv7TQwnk "video introduction of bug arena")
10+
![Bug Arena Intro](youtube:U_bcAht2o0A "video introduction of bug arena")
1111

1212
## Squares Algorithm
1313

@@ -21,7 +21,7 @@ Let's code your bug to move around the screen coloring the arena in a square pat
2121

2222
Our bug moves on its own, but it's important to make sure that it starts out moving in the right direction! 🗺️
2323

24-
From the ``||hourOfAi:Hour of AI||`` Toolbox category, drag the ``||hourOfAi:face towards 0||`` block out and drop into the ``||hourOfAi:on start||`` block.
24+
From the ``||hourOfAi:Bug AI||`` Toolbox category, drag the ``||hourOfAi:face towards 0||`` block out and drop into the ``||hourOfAi:on start||`` block.
2525

2626
~hint What does this do?
2727

@@ -58,7 +58,7 @@ Uh-oh! It gets stuck! 🔄
5858

5959
Let's code in some behavior for when it hits a wall. 🧱
6060

61-
From the ``||hourOfAi:Hour of AI||`` category, drag an ``||hourOfAi:on bump wall||`` block out onto the Workspace - you can put it anywhere.
61+
From the ``||hourOfAi:Bug AI||`` category, drag an ``||hourOfAi:on bump wall||`` block out onto the Workspace - you can put it anywhere.
6262

6363
```blocks
6464
hourOfAi.onBumpWall(function () {
@@ -68,7 +68,7 @@ hourOfAi.onBumpWall(function () {
6868

6969
## Turn 90 degrees
7070

71-
From the ``||hourOfAi:Hour of AI||`` category, drag a ``||hourOfAi:turn 90||`` block, and drop it into the ``||hourOfAi:on bump wall||`` block.
71+
From the ``||hourOfAi:Bug AI||`` category, drag a ``||hourOfAi:turn 90||`` block, and drop it into the ``||hourOfAi:on bump wall||`` block.
7272
<br/>
7373
<br/>
7474

@@ -115,7 +115,7 @@ hint~
115115

116116
We need to have our bug check to make sure it's not on a part of the screen that's already covered with its paint color 🎨 before turning.
117117

118-
From the ``||hourOfAi:Hour of AI||`` category, drag the ``||hourOfAi:every 500 ms||`` group of blocks out onto the Workspace - you can put it anywhere.
118+
From the ``||hourOfAi:Bug AI||`` category, drag the ``||hourOfAi:every 500 ms||`` group of blocks out onto the Workspace - you can put it anywhere.
119119

120120
~hint What does this do?
121121

@@ -145,7 +145,7 @@ hourOfAi.every(500, function () {
145145

146146
When the distance from our bug to its own paint color is 0, then we should make a right turn. ↩️
147147

148-
From the ``||hourOfAi:Hour of AI||`` category, drag a ``||hourOfAi:turn 90||`` block out and drop into the ``||Logic:if then||`` block.
148+
From the ``||hourOfAi:Bug AI||`` category, drag a ``||hourOfAi:turn 90||`` block out and drop into the ``||Logic:if then||`` block.
149149

150150
```blocks
151151
hourOfAi.every(500, function () {
@@ -160,7 +160,7 @@ hourOfAi.every(500, function () {
160160

161161
Test your game again in the 🕹️ Game Window below.
162162

163-
You can move the slider to the right ➡️ to watch your bug make perfect squares! 🟨🟦🟩
163+
You can move the **SPEED** slider to the right ➡️ to watch your bug make perfect squares! 🟨🟦🟩
164164

165165
Nice work! 👍 You've coded a smart AI algorithm ✨ that will box in your competitors in the Bug Arena!
166166

@@ -188,4 +188,4 @@ hourOfAi.onStart(function () {
188188

189189
```package
190190
hourOfAi=github:riknoll/bug-arena
191-
```
191+
```

0 commit comments

Comments
 (0)