World 1: First steps
Welcome to Pet World
- Your pet is lost in Pet World. Your program is its map.
- Each line your program outputs is one move:
up,down,left,right. - Later you also find buried treasure with
dig.
Words for this world
| Word | Meaning |
|---|---|
| move | one step to the next square |
| order | which move comes first, next and last |
| star | walk on it to collect it |
One move on each line
- The pet reads your output from the top line to the bottom line.
- Trees and rocks block the way. Water is a splash!
OUTPUT "right"
OUTPUT "right"
OUTPUT "down"
- Press Run and watch your pet walk. Then press Check.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Walk your pet home. Home is 3 squares to the right. Output one move on each line: up, down, left, right atau dig.
Klik Jalankan untuk melihat output di sini.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
A tree is in the way. Go right, then down, then right to reach home.
Klik Jalankan untuk melihat output di sini.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Collect the star, then walk home. Walk on the star square to collect it.
Klik Jalankan untuk melihat output di sini.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
Do not walk into the water! Go around the pond to reach home.
Klik Jalankan untuk melihat output di sini.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Collect both stars, then go home. The pet starts on the right.
Klik Jalankan untuk melihat output di sini.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Treasure is buried at the X. Stand on it and output dig. Then walk home.
Klik Jalankan untuk melihat output di sini.