-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
84 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,39 @@ | ||
### @flyoutOnly 1 | ||
### @hideIteration true | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly false | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
## Step 1 | ||
Welcome your Agent! | ||
## Hidden in Plain Sight | ||
|
||
# Hidden in Plain Sight | ||
The final goon is hiding amongst the gala attendees. Help Wonder Woman find and apprehend him. | ||
|
||
```ghost | ||
player.onChat("search", function () { | ||
**Blocks Available:** | ||
*Move <direction> by <number>* - Wonder Woman will move in that direction the specified number of blocks. | ||
*Locate goon <direction>* - Return a boolean (*true* | *false*) of whether the goon is found in the specified direction. | ||
*Apprehend goon <direction>* - Instruct Wonder Woman to apprehend the goon. | ||
*repeat <number> times* - Repeat code the specified number of times. | ||
*if / then* - Checks if a condition is *true* and then does something if so. | ||
*while <boolean>* - Repeated run the code while the boolean is *true*. | ||
*not <boolean>* - Switches the operation of a condition. Example: *while <true>* vs. *while not <true>* | ||
|
||
}) | ||
```ghost | ||
ww.moveWW(Direction.Forward, 0) | ||
ww.locateGoon(Direction.Forward) | ||
ww.apprehendGoon(Direction.Forward) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
if () { | ||
} | ||
while (true) { | ||
} | ||
!(false) | ||
``` | ||
```package | ||
minecraft-ww1984=github:ReWrite-Media/ww1984-ts | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
### @flyoutOnly 1 | ||
### @hideIteration true | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly false | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
## Step 1 | ||
Welcome your Agent! | ||
## Laser Sneak | ||
|
||
# Laser Sneak Part 1 | ||
Help Wonder Woman navigate through the room without tripping any lasers. | ||
|
||
```ghost | ||
player.onChat("search", function () { | ||
**Blocks Available:** | ||
*Move <direction> by <number>* - Wonder Woman will move in that direction the specified number of blocks. | ||
*repeat <number> times* - Repeat code the specified number of times. | ||
|
||
}) | ||
```ghost | ||
ww.moveWW(Direction.Forward, 0) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
``` | ||
```package | ||
minecraft-ww1984=github:ReWrite-Media/ww1984-ts | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
### @flyoutOnly 1 | ||
### @hideIteration true | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly false | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
## Step 1 | ||
Welcome your Agent! | ||
## Laser Sneak | ||
|
||
# Laser Sneak Part 2 | ||
This room is a bit more difficult. Help Wonder Woman get through this room without triggering the alarm. | ||
|
||
```ghost | ||
player.onChat("search", function () { | ||
**Blocks Available:** | ||
*Move <direction> by <number>* - Wonder Woman will move in that direction the specified number of blocks. | ||
*repeat <number> times* - Repeat code the specified number of times. | ||
|
||
}) | ||
```ghost | ||
ww.moveWW(Direction.Forward, 0) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
``` | ||
```package | ||
minecraft-ww1984=github:ReWrite-Media/ww1984-ts | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
### @flyoutOnly 1 | ||
### @hideIteration true | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly false | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
## Step 1 | ||
Welcome your Agent! | ||
## Laser Sneak | ||
|
||
# Laser Sneak Part 2 | ||
In this room Wonder Woman will need to sneak up behind the goon and get the painting piece from him. You'll still need to make sure she avoids tripping the lasers. | ||
|
||
```ghost | ||
player.onChat("search", function () { | ||
**Blocks Available:** | ||
*Move <direction> by <number>* - Wonder Woman will move in that direction the specified number of blocks. | ||
*Apprehend goon <direction>* - Instruct Wonder Woman to apprehend the goon. | ||
*repeat <number> times* - Repeat code the specified number of times. | ||
|
||
}) | ||
```ghost | ||
ww.moveWW(Direction.Forward, 0) | ||
ww.apprehendGoon(Direction.Forward) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
``` | ||
```package | ||
minecraft-ww1984=github:ReWrite-Media/ww1984-ts | ||
``` | ||
``` |