Skip to content

Commit

Permalink
prepping arabic
Browse files Browse the repository at this point in the history
  • Loading branch information
neonerz committed Feb 19, 2025
1 parent 2ff1587 commit 3f07336
Show file tree
Hide file tree
Showing 33 changed files with 902 additions and 0 deletions.
38 changes: 38 additions & 0 deletions ar/computer_scientist-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Computer Scientist (Debug)

## Step 1
There's something wrong with the below code. Press the green play button to run it to see what happens, and then debug it to see what's wrong and what changes are needed to make it work.

#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to each BROWN block. Then use ``||agent.agent destroy||`` in the direction you want the block destroyed to remove the BROWN block. Repeat this until all the BROWN blocks are destroyed.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
agent.move(FORWARD, 1)
agent.destroy(UP)
agent.move(FORWARD, 2)
agent.destroy(UP)
agent.move(FORWARD, 2)
agent.destroy(UP)
agent.turn(LEFT_TURN)
agent.move(FORWARD, 2)
agent.turn(LEFT_TURN)
agent.destroy(UP)
agent.move(FORWARD, 2)
agent.destroy(UP)
agent.move(FORWARD, 2)
agent.destroy(UP)
```
```package
```
38 changes: 38 additions & 0 deletions ar/computer_scientist-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Computer Scientist (Solution)

## Step 1
The below code is the correct solution to the activity. Run the code by pressing the green play button to see it in action.

#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to each BROWN block. Then use ``||agent.agent destroy||`` in the direction you want the block destroyed to remove the BROWN block. Repeat this until all the BROWN blocks are destroyed.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
agent.move(FORWARD, 1)
agent.destroy(DOWN)
agent.move(FORWARD, 2)
agent.destroy(DOWN)
agent.move(FORWARD, 2)
agent.destroy(DOWN)
agent.turn(RIGHT_TURN)
agent.move(FORWARD, 2)
agent.turn(RIGHT_TURN)
agent.destroy(DOWN)
agent.move(FORWARD, 2)
agent.destroy(DOWN)
agent.move(FORWARD, 2)
agent.destroy(DOWN)
```
```package
```
24 changes: 24 additions & 0 deletions ar/computer_scientist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Computer Scientist

## Step 1
Someone filled in the computer scientist's punch cards that contain the instructions for the first algorithm. Code your Agent to DESTROY the BROWN blocks to make the cards work.
#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to each BROWN block. Then use ``||agent.agent destroy||`` in the direction you want the block destroyed to remove the BROWN block. Repeat this until all the BROWN blocks are destroyed.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
\\
```
```package
```
18 changes: 18 additions & 0 deletions ar/deploy_agent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Agent Deployed!

## Step 1
You've successfully deployed your Agent! This is the Code Builder window, you'll use it when you're ready to code! Hit the green play button to close this window and continue on to your adventure!

```ghost
null
```
```template
{}
```
```
```package
```
27 changes: 27 additions & 0 deletions ar/elements_discovery-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Elements of Discovery (Debug)

## Step 1
There's something wrong with the below code. Press the green play button to run it to see what happens, and then debug it to see what's wrong and what changes are needed to make it work.

#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to the green glowing bookcases. Use ``||agent.agent destroy||`` in the direction you want to destroy the green glowing bookcases block. Repeat this until the 3 bookcase blocks are destroyed.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
agent.move(UP, 2)
agent.move(FORWARD, 3)
agent.destroy(LEFT)
```
```package
```
27 changes: 27 additions & 0 deletions ar/elements_discovery-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Elements of Discovery (Solution)

## Step 1
The below code is the correct solution to the activity. Run the code by pressing the green play button to see it in action.

#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to the green glowing bookcases. Use ``||agent.agent destroy||`` in the direction you want to destroy the green glowing bookcases block. Repeat this until the 3 bookcase blocks are destroyed.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
agent.move(UP, 1)
agent.move(FORWARD, 4)
agent.destroy(LEFT)
```
```package
```
25 changes: 25 additions & 0 deletions ar/elements_discovery.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Elements of Discovery

## Step 1
When the chemist left the room, someone hid her research inside the bookcase. Code your Agent to DESTROY the green glowing bookcase, so that she can share her discoveries.

#### ~ tutorialhint
Use ``||agent.agent move||`` and ``||agent.agent turn||`` to move your Agent to the green glowing bookcases. Use ``||agent.agent destroy||`` in the direction you want to destroy the green glowing bookcases block.

```ghost
agent.move(FORWARD, 0)
agent.destroy(FORWARD)
agent.turn(RIGHT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
\\
```
```package
```
39 changes: 39 additions & 0 deletions ar/first_flights-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Flight (Debug)

## Step 1
There's something wrong with the below code. Press the green play button to run it to see what happens, and then debug it to see what's wrong and what changes are needed to make it work.

#### ~ tutorialhint
Use ``||agent.agent move||`` to send your Agent to the hole. Fill each hole using ``||agent.agent place||`` to PLACE the `Dirt` block we've given the Agent. Repeat ``||agent.agent move||`` and ``||agent.agent place||`` until all the holes are filled.

```ghost
agent.move(FORWARD, 0)
agent.place(FORWARD)
for (let index = 0; index < 4; index++) {
}
```
```template
for (let index = 0; index < 3; index++) {
agent.move(FORWARD, 1)
agent.place(UP)
}
agent.move(FORWARD, 2)
agent.move(RIGHT, 2)
for (let index = 0; index < 3; index++) {
agent.move(FORWARD, 1)
agent.place(UP)
}
agent.move(FORWARD, 2)
agent.move(RIGHT, 2)
for (let index = 0; index < 3; index++) {
agent.move(FORWARD, 1)
agent.place(UP)
}
```
```package
```
39 changes: 39 additions & 0 deletions ar/first_flights-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Flight (Solution)

## Step 1
The below code is the correct solution to the activity. Run the code by pressing the green play button to see it in action.

#### ~ tutorialhint
Use ``||agent.agent move||`` to send your Agent to the hole. Fill each hole using ``||agent.agent place||`` to PLACE the `Dirt` block we've given the Agent. Repeat ``||agent.agent move||`` and ``||agent.agent place||`` until all the holes are filled.

```ghost
agent.move(FORWARD, 0)
agent.place(FORWARD)
for (let index = 0; index < 4; index++) {
}
```
```template
for (let index = 0; index < 2; index++) {
agent.move(FORWARD, 1)
agent.place(DOWN)
}
agent.move(FORWARD, 2)
agent.move(RIGHT, 2)
for (let index = 0; index < 2; index++) {
agent.move(FORWARD, 1)
agent.place(DOWN)
}
agent.move(FORWARD, 2)
agent.move(RIGHT, 2)
for (let index = 0; index < 2; index++) {
agent.move(FORWARD, 1)
agent.place(DOWN)
}
```
```package
```
24 changes: 24 additions & 0 deletions ar/first_flights.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# First Flight

## Step 1
One of the first planes is about to take off, but there are holes in the runway! Code your Agent to fill the holes with `Dirt` blocks we've given it.

#### ~ tutorialhint
Use ``||agent.agent move||`` to send your Agent to the hole. Fill each hole using ``||agent.agent place||`` to PLACE the `Dirt` block we've given the Agent. Repeat ``||agent.agent move||`` and ``||agent.agent place||`` until all the holes are filled.

```ghost
agent.move(FORWARD, 0)
agent.place(FORWARD)
for (let index = 0; index < 4; index++) {
}
```
```template
\\
```
```package
```
35 changes: 35 additions & 0 deletions ar/giza-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Great Pyramid at Giza (Debug)

## Step 1
There's something wrong with the below code. Press the green play button to run it to see what happens, and then debug it to see what's wrong and what changes are needed to make it work.

#### ~ tutorialhint
Think about how the Agent needs to move to place the right number of blocks for each level of the pyramid. Use the ``||agent.agent move||`` block to move your agent forward and for each step use ``||agent.agent place||`` to PLACE the `Smooth Sandstone` we've given the Agent.

```ghost
agent.move(FORWARD, 0)
agent.place(FORWARD)
agent.turn(LEFT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
for (let index=0); index < 3; index++){
agent.move(FORWARD, 1)
agent.place(BACK)
}
agent.move(UP, 1)
agent.turn(LEFT_TURN)
agent.turn(RIGHT_TURN)
agent.move(FORWARD, 1)
agent.move(FORWARD, 1)
agent.move(FORWARD, 1)
agent.place(UP)
```
```package
```
35 changes: 35 additions & 0 deletions ar/giza-3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### @flyoutOnly true
### @hideIteration true
### @explicitHints true

# Great Pyramid at Giza (Solution)

## Step 1
The below code is the correct solution to the activity. Run the code by pressing the green play button to see it in action.

#### ~ tutorialhint
Think about how the Agent needs to move to place the right number of blocks for each level of the pyramid. Use the ``||agent.agent move||`` block to move your agent forward and for each step use ``||agent.agent place||`` to PLACE the `Smooth Sandstone` we've given the Agent.

```ghost
agent.move(FORWARD, 0)
agent.place(FORWARD)
agent.turn(LEFT_TURN)
for (let index = 0; index < 4; index++) {
}
```
```template
for (let index=0); index < 3; index++){
agent.move(FORWARD, 1)
agent.place(BACK)
}
agent.move(UP, 1)
agent.turn(LEFT_TURN)
agent.turn(LEFT_TURN)
agent.move(FORWARD, 1)
agent.move(FORWARD, 1)
agent.move(FORWARD, 1)
agent.place(BACK)
```
```package
```
Loading

0 comments on commit 3f07336

Please sign in to comment.