Skip to content

Commit

Permalink
preparing arabic
Browse files Browse the repository at this point in the history
  • Loading branch information
neonerz committed Feb 20, 2025
1 parent 28c0e5e commit 79252c9
Show file tree
Hide file tree
Showing 44 changed files with 1,348 additions and 1 deletion.
26 changes: 26 additions & 0 deletions ar/attic_green_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Attic Tutorial

## Step 1
Now that the trapdoor is open, move the Agent up two blocks to set it free.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Move the Agent up two blocks using the ``||hoc22.agent move <direction> by <number>||`` block.



```ghost
hoc22.agentMove(SixDirection.Up, 2)
```
```template
hoc22.agentMove(SixDirection.Up, 1)
```
```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
26 changes: 26 additions & 0 deletions ar/attic_red.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Attic Tutorial

## Step 1
To open the Red door, both you and the Agent will have to work together. Flip the lever to bring up the iron wall, then move the Agent so it is above the Gold blocks in front of the Red door.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Flip the lever down to bring up the iron wall, then move the Agent 14 blocks forward using ``||hoc22.agent move <direction> by <number>||``



```ghost
hoc22.agentMove(SixDirection.Up, 1)
```
```template
hoc22.agentMove(SixDirection.Forward, 10)
```
```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
33 changes: 33 additions & 0 deletions ar/attic_yellow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Attic Tutorial

## Step 1
The Agent had just enough power to open the Green door. If you can figure out how to open the skylight, the Agent can charge up even more and open the Yellow door.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Look above the Agent and use the ``||hoc22.cursor move||`` block to position the cursor over each trapdoor and then use ``||hoc22.open trapdoor||`` to open them. Use the colored arrows to help you choose which direction the cursor should move.



```ghost
hoc22.cursorMoveOrientationOneUp(1)
hoc22.cursorMoveOrientationOneDown(1)
hoc22.cursorMoveOrientationOneLeft(1)
hoc22.cursorMoveOrientationOneRight(1)
hoc22.openTrapdoor()
```
```template
hoc22.openTrapdoor()
hoc22.cursorMoveOrientationOneRight(2)
hoc22.cursorMoveOrientationOneUp(1)
```
```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
32 changes: 32 additions & 0 deletions ar/boss_cannon_sequence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Cannons

## Step 1
Each cannon has its own beam color. Activate the cannons in the same order as the colored rings surrounding the Time Orb.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Pay close attention to the colored rings around the Time Orb. Use the ``||hoc22.activate <color> cannon||`` blocks to match the order of rings around the Time Orb. Start from the outer most ring and work your way in.

```ghost
hoc22.magentaCannon()
hoc22.lightBlueCannon()
hoc22.limeCannon()
hoc22.yellowCannon()
```
```template
hoc22.yellowCannon()
hoc22.lightBlueCannon()
hoc22.magentaCannon()
hoc22.limeCannon()
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
35 changes: 35 additions & 0 deletions ar/boss_red.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Open Doors

## Step 1
Each one of those colored slots is a lock for a chamber door. Fill all four slots with its matching color to open the chamber doors, so we can get inside!

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Use the ``||hoc22.cursor move <direction>||`` block to move the cursor into position and then use ``||hoc22.place block||`` to fill the hole. Once all the holes are filled, the chamber doors should open.

```ghost
hoc22.cursorMoveOrientationOneUp(1)
hoc22.cursorMoveOrientationOneDown(1)
hoc22.cursorMoveOrientationOneLeft(1)
hoc22.cursorMoveOrientationOneRight(1)
hoc22.placeMagentaBlock()
hoc22.placeLimeBlock()
hoc22.placeYellowBlock()
hoc22.placeLightBlueBlock()
```
```template
hoc22.placeLimeBlock()
hoc22.cursorMoveOrientationOneRight(2)
hoc22.placeLightBlueBlock()
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
32 changes: 32 additions & 0 deletions ar/boss_rotation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Unlock the Trap

## Step 1
Now we have the chance to capture the Time Agents! We need to align all 3 colored discs to trap the Time Agents.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Rotate each section using the ``||hoc22.rotate <section> <direction> by <number>||`` blocks. Line up the colored paths between both sections. Once that's done, we should be able to finally put a stop to those Time Agents!

```ghost
hoc22.outerRingClockwise(1)
hoc22.outerRingCounterclockwise(1)
hoc22.middleRingClockwise(1)
hoc22.middleRingCounterclockwise(1)
hoc22.innerRingCounterclockwise(1)
hoc22.innerRingClockwise(1)
```
```template
hoc22.outerRingClockwise(1)
hoc22.middleRingCounterclockwise(3)
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
26 changes: 26 additions & 0 deletions ar/boss_yellow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Pull the Lever

## Step 1
There's the lever! Move the Agent to the lever and then pull it down!

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Use the ``||hoc22.agent move||`` block to position the Agent in front of the lever, and then use ``||hoc22.pull lever down||`` to activate it!

```ghost
hoc22.agentMove(SixDirection.Up, 2)
hoc22.pullLeverDownLime()
```
```template
hoc22.agentMove(SixDirection.Forward, 2)
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
35 changes: 35 additions & 0 deletions ar/crate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# TESTING

## Step 1
TESTING 8

```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
```
35 changes: 35 additions & 0 deletions ar/foyer_bookshelf.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Bookcase Staircase

## Step 1
There seems to be something at the top of the bookcase. See if you can create a way to get up there.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Move the cursor along the bookcase to select a position using the ``||hoc22.cursor move <direction>||`` block and then use ``||hoc22.place block||`` to place a block in that position. Create a staircase to get to the top.

```ghost
hoc22.cursorMoveOrientationOneUp(1)
hoc22.cursorMoveOrientationOneDown(1)
hoc22.cursorMoveOrientationOneLeft(1)
hoc22.cursorMoveOrientationOneRight(1)
hoc22.placeBlock()
for (let index = 0; index < 4; index++) { }
```
```template
hoc22.placeBlock()
hoc22.cursorMoveOrientationOneRight(3)
hoc22.placeBlock()
hoc22.cursorMoveOrientationOneRight(3)
hoc22.placeBlock()
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
30 changes: 30 additions & 0 deletions ar/foyer_chess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Chess Pieces

## Step 1
We've freed the King and Queen, but the door still isn't opening. The pieces must be in the wrong places. Move them into the correct places, so you can finally escape this place!

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
The chessboard represents a grid of dates. Search the room to figure out what dates the king and queen should be on and then use the ``||hoc22.move king <direction>||`` and ``||hoc22.move queen <direction>||`` blocks to move them into their correct positions.

```ghost
hoc22.kingMove(Custom.ArrowUpOrange, 1)
hoc22.queenMove(Custom.ArrowUpOrange, 1)
```
```template
hoc22.kingMove(Custom.ArrowUpOrange, 3)
hoc22.kingMove(Custom.ArrowLeftBlue, 1)
hoc22.queenMove(Custom.ArrowRightYellow, 2)
hoc22.queenMove(Custom.ArrowUpOrange,1)
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
30 changes: 30 additions & 0 deletions ar/foyer_mosaic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Picture Slide

## Step 1
It seems like the picture got scrambled! Let's see if we can push the blocks around to put the picture back in order.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Use the ``||hoc22.push <color> <direction>||`` blocks to trigger the pistons in order to move the blocks in the selected direction. It takes a minimum of three moves to put the picture back in order.

```ghost
hoc22.mosaicPushUp()
hoc22.mosaicPushDown()
hoc22.mosaicPushLeft()
hoc22.mosaicPushRight()
```
```template
hoc22.mosaicPushLeft()
hoc22.mosaicPushRight()
hoc22.mosaicPushDown()
```

```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
36 changes: 36 additions & 0 deletions ar/greenhouse_crackedwall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true


# Cracked Wall

## Step 1
The garden needs more water! Use the cursor to break some of these damaged bricks to get more water flowing.

The included example code is broken, can you fix it? Debug the code by running it to see what it does and then edit it to the correct solution.

#### ~ tutorialhint
Move the cursor using the ``||hoc22.cursor move <direction>||`` block and then use ``||hoc22.break block||`` to break a block in that position. Break all 4 blocks to get enough water to get to the next puzzle.



```ghost
hoc22.cursorMoveOrientationOneUp(1)
hoc22.cursorMoveOrientationOneDown(1)
hoc22.cursorMoveOrientationOneLeft(1)
hoc22.cursorMoveOrientationOneRight(1)
hoc22.breakBlock()
```
```template
hoc22.cursorMoveOrientationOneDown(1)
hoc22.breakBlock()
hoc22.cursorMoveOrientationOneRight(4)
hoc22.breakBlock()
hoc22.cursorMoveOrientationOneDown(4)
hoc22.cursorMoveOrientationOneLeft(1)
hoc22.breakBlock()
```
```package
minecraft-hoc22=github:ReWrite-Media/hoc22-ts
```
Loading

0 comments on commit 79252c9

Please sign in to comment.