-
Notifications
You must be signed in to change notification settings - Fork 2
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
7 changed files
with
224 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# hoc2022-md | ||
This is a project |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
# Beams of Color | ||
|
||
## Step 1 | ||
Help Wonder Woman place stained glass on top of the beams of light to match the color pattern shown on the wall. You'll need to tell her where to move and which colors to place. | ||
|
||
**Blocks Available:** | ||
``||ww:Move <direction> by <number>||`` - Wonder Woman will move in that direction the specified number of blocks. | ||
``||ww:Turn <direction>||`` - Wonder Woman will turn in the specified direction. | ||
``||ww:Place <color> Stained Glass <direction>||`` - Place a piece of colored stained glass in the specified direction. | ||
``||loops:repeat <number> times||`` - Repeat code the specified number of times. | ||
|
||
```ghost | ||
player.onChat("run", function () { | ||
for (let index = 0; index < 4; index++) { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
ww.placeBlock(BeamsGlass.YellowStainedGlass, Direction.Forward) | ||
} | ||
}) | ||
``` | ||
```template | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 3) | ||
ww.placeBlock(BeamsGlass.LimeStainedGlass, Direction.Right) | ||
}) | ||
``` | ||
```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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
# Suspicious Crates | ||
|
||
## Step 1 | ||
Help Wonder Woman move through the crates and find the missing painting piece. Search each one and if she finds the missing puzzle piece, have her break the box to get it. | ||
|
||
**Blocks Available:** | ||
``||ww:Move <direction> by <number>||`` - Wonder Woman will move in that *direction* the given *number* of blocks. | ||
``||ww:Turn <direction>||`` - Wonder Woman will turn in the given *direction*. | ||
``||ww:painting inside crate <direction>||`` - Return a boolean (*true* | *false*) of whether the painting is found hidden in the given *direction*. | ||
``||ww:Break crate <direction>||`` - Instruct Wonder Woman to try and retrieve the hidden painting. | ||
``||loops:repeat <number> times||`` - Repeat code the given *number* of times. | ||
``||loops:while <boolean>||`` - Repeatedly run the code while the boolean is *true*. | ||
``||logic:if / then||`` - Checks if a condition is *true* and then does something if it is. | ||
``||logic:not <boolean>||`` - Switches the operation of a condition. Example: *while <true>* vs. *while not <true>* | ||
|
||
```ghost | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
if (ww.locatePainting(Direction.Forward)) { | ||
ww.retrievePainting(Direction.Forward) | ||
} | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
while (!(false)) { | ||
} | ||
}) | ||
``` | ||
```template | ||
player.onChat("run", function () { | ||
if (ww.locatePainting(Direction.Forward)) { | ||
} | ||
}) | ||
``` | ||
```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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
# Hidden in Plain Sight | ||
|
||
## Step 1 | ||
The criminal who planned the heist is hidden among the crowd. Help Wonder Woman check each person to figure out which is the thief in disguise and then use the lasso of truth to get the final painting piece. | ||
|
||
**Blocks Available:** | ||
``||ww:Move <direction> by <number>||`` - Wonder Woman will move in that *direction* the given *number* of blocks. | ||
``||ww:Turn <direction>||`` - Wonder Woman will turn in the given *direction*. | ||
``||ww:attendee is the thief <direction>||`` - Return a boolean (*true* | *false*) of whether the attendee is the thief or not. | ||
``||ww:Lasso thief <direction>||`` - Causes Wonder Woman to use her lasso of truth on the thief. | ||
``||loops:repeat <number> times||`` - Repeat code the given *number* of times. | ||
``||loops:while <boolean>||`` - Repeatedly run the code while the boolean is *true*. | ||
``||logic:if / then||`` - Checks if a condition is *true* and then does something if it is. | ||
``||logic:not <boolean>||`` - Switches the operation of a condition. Example: *while <true>* vs. *while not <true>* | ||
|
||
```ghost | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
if (ww.locateGoon(Direction.Forward)) { | ||
ww.apprehendGoon(Direction.Forward) | ||
} | ||
while (!(false)) { | ||
} | ||
}) | ||
``` | ||
```template | ||
player.onChat("run", function () { | ||
if (ww.locateGoon(Direction.Forward)) { | ||
} | ||
}) | ||
``` | ||
```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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
# Dance Floor | ||
|
||
## Step 1 | ||
The colors on the wall seem to match the colors on the floor. Help Wonder Woman move over the colored blocks in the same sequence as seen on the wall. That should unlock a secret door on the back wall. | ||
|
||
**Blocks Available:** | ||
``||ww:Move <direction> by <number>||`` - Wonder Woman will move in that *direction* the given *number* of blocks. | ||
``||ww:Turn <direction>||`` - Wonder Woman will turn in the given *direction*. | ||
``||loops:repeat <number> times||`` - Repeat code the given *number* of times. | ||
|
||
```ghost | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
for (let index = 0; index < 4; index++) { | ||
} | ||
}) | ||
``` | ||
```template | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(RIGHT_TURN) | ||
}) | ||
``` | ||
```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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "minecraft-hoc2022-md", | ||
"version": "1.13.0", | ||
"dependencies": { | ||
"core": "*", | ||
"builder": "*" | ||
}, | ||
"files": [ | ||
"README.md", | ||
"crate.md", | ||
"beams.md", | ||
"floor.md", | ||
"sneak.md", | ||
"final.md" | ||
|
||
], | ||
"supportedTargets": [ | ||
"minecraft" | ||
], | ||
"preferredEditor": "tsprj" | ||
} |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
### @codeStart players set @s makecode 0 | ||
### @codeStop players set @s makecode 1 | ||
|
||
### @flyoutOnly true | ||
### @hideIteration true | ||
### @explicitHints 1 | ||
|
||
# Stealth Mission | ||
|
||
## Step 1 | ||
Help Wonder Woman move through the room without triggering the alarm by avoiding the lasers. She'll need to sneak behind and takedown the criminal. | ||
|
||
**Blocks Available:** | ||
``||ww:Move <direction> by <number>||`` - Wonder Woman will move in that *direction* the given *number* of blocks. | ||
``||ww:Turn <direction>||`` - Wonder Woman will turn in the given *direction*. | ||
``||ww:Takedown criminal <direction>||`` - Stealthily knock out the criminal in the given *direction*. | ||
``||loops:repeat <number> times||`` - Repeat code the given *number* of times. | ||
|
||
```ghost | ||
player.onChat("run", function () { | ||
for (let index = 0; index < 4; index++) { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
ww.takedownGoon(Direction.Forward) | ||
} | ||
}) | ||
``` | ||
```template | ||
player.onChat("run", function () { | ||
ww.moveWW(Direction.Forward, 1) | ||
ww.turnWW(LEFT_TURN) | ||
}) | ||
``` | ||
```package | ||
minecraft-ww1984=github:ReWrite-Media/ww1984-ts | ||
``` |