Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions en/landing.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
## What you will make

Display the word 'Hello' on the screen
Create a turtle race program with four racers, numbered lanes, and random movement across the track.

--- print-only ---
Run the project to watch the turtles race across the screen and see which one reaches the finish line first.

![An archery target with a hit point on the outer circle. The text 'You hit the outer circle, 50 points!' is displayed underneath](images/blue-points.png){:width="640px"}
<div class="c-project-output">

--- /print-only ---
![Finished turtle race project](images/step_8.png)

### You will:
- print() text, including emojis 😃, and get input() ⌨️ from the user
- Store text and numbers in variables
- Use functions to organise your code

--- no-print ---

Click the **Run** button below to start the game. When the dot appears on the target 🎯, click the mouse (or tap on your tablet) to fire your arrow.

<iframe src="https://editor.raspberrypi.org/en/embed/viewer/target-practice-solution" width="400" height="710" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen>
</iframe>

--- /no-print ---
</div>
18 changes: 9 additions & 9 deletions en/meta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ copyedit: false
last_tested: "2025-01-01"
landing: true
steps:
- title: Step 1
- title: Step 2
- title: Add a turtle
- title: Add another turtle
completion:
- engaged
- title: Step 3
- title: Step 4
- title: Step 5
- title: Step 6
- title: Step 7
- title: Step 8
- title: Add a third turtle
- title: Add the fourth turtle
- title: Get the track pen ready
- title: Number the track
completion:
- internal
- title: Draw the race markers
- title: Start the race
completion:
- external

3 changes: 1 addition & 2 deletions en/step_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ Create your first racing turtle and get it ready at the starting line.

<h2 class="c-project-heading--explainer">Say hello to Ada! 🐢</h2>

--- task ---
### Step 1

Start by adding one turtle to the screen.

You can name the turtle anything you like. Here, it is called `ada`.

This turtle gets a colour and shape, then moves to its starting position on the track.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ Give your race a second speedy turtle.

<h2 class="c-project-heading--explainer">Meet Bob! 🐢</h2>

--- task ---
### Step 1

Create a new turtle called `bob`.

Set Bob’s colour and shape, then move him to the next starting spot.

Bob is almost the same as Ada. Just the colour and position change. The important lines that make Bob different are highlighted.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Now your race needs a third turtle.

<h2 class="c-project-heading--explainer">Hello, Eve! 🐢</h2>

--- task ---
### Step 1

Create a turtle named `eve`.

Give Eve a [colour](https://www.tcl-lang.org/man/tcl8.5/TkCmd/colors.htm) and shape, then move her to the starting line below Bob.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Every race needs a full line-up.

<h2 class="c-project-heading--explainer">Say hi to Kai! 🐢</h2>

--- task ---
### Step 1

Create a turtle called `kai`.

Set the colour and shape, then move Kai to the last starting spot.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_5.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Now set up the turtle that will draw the race track. This will just have the bas

<h2 class="c-project-heading--explainer">Ready, set, draw! ✏️</h2>

--- task ---
### Step 1

Lift the pen so no line is drawn.

Move to the top-left corner of the track and make the turtle move fast.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Add number markers along the top of the race track.

<h2 class="c-project-heading--explainer">Count the steps! 🔢</h2>

--- task ---
### Step 1

Use a loop to write the numbers `0` to `11`.

After writing each number, move forward to the next spot.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_7.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Add the race markers under each number.

<h2 class="c-project-heading--explainer">Make the track! 🏁</h2>

--- task ---
### Step 1

Inside the loop, turn and draw a line down for each marker.

Then move back up, face forward again, and write the next number.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
3 changes: 1 addition & 2 deletions en/step_8.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ Make the turtles move forward a random amount each turn.

<h2 class="c-project-heading--explainer">Let them race! 🐢🐢🐢🐢</h2>

--- task ---
### Step 1

Use a loop to take 100 turns.

On each turn, move every turtle forward by a random number of steps.

--- /task ---

<div class="c-project-code">
--- code ---
Expand Down
Loading