Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/it1shka/code-adventure
Project to teach kids basics of programming (in active development)
https://github.com/it1shka/code-adventure
game ide learn-to-code platform playground programming-language
Last synced: about 1 month ago
JSON representation
Project to teach kids basics of programming (in active development)
- Host: GitHub
- URL: https://github.com/it1shka/code-adventure
- Owner: it1shka
- License: other
- Created: 2024-08-02T22:04:43.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-27T21:55:25.000Z (5 months ago)
- Last Synced: 2024-08-28T02:29:02.329Z (5 months ago)
- Topics: game, ide, learn-to-code, platform, playground, programming-language
- Language: Vue
- Homepage:
- Size: 245 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# π€ Code Adventure
Project to teach kids basics of programming## Welcome!
Welcome to the exciting world of
__"Peter the Robot's Clean-Up Adventure"!__
In this fun and engaging game, you'll meet
Peter, a friendly robot with a
big task ahead of him. Peter's hangar is filled
with a __jumble of boxes and junk__, and he needs
your help to tidy it up!
Peter wants to scatter the boxes around the hangar
to collect all the rubbish. To lend Peter a hand,
you'll write __a simple program__ to guide him.
Don't worry, thoughβit's easy! The programming
language Peter uses has just __6 simple commands__.
Are you ready to help Peter turn his messy hangar
into a sparkling clean space? Let's get started
and have a blast coding together!## Instructions:
There are currently __6 minimal instructions__
implemented in the language:1. **_Move_**: robot makes _n_ steps forward
```instructions
move ${n} steps
```2. **_Turn_**: robot turns either __right__ or __left__
```instructions
turn ${right | left}
```3. **_Repeat_**: robot repeats _n_ times some
particular block of instructions
```instructions
repeat ${n} times
${block}
end
```4. **_Define_**: define custom procedure
```instructions
define ${body} as
${body}
end
```5. **_Execute_**: execute custom procedure
```
execute ${procedure_name}
```6. **_Backtracking_**: robot returns to the
initial position (before the _backtracking_) automatically
```
backtracking
${body}
end
```Additionally, you can leave comments
in your code. Comments start with symbol __'#'__:
```instructions
# This is a comment
# This is another comment
```Sample program:
```instructions
define Square as
repeat 4 times
move 5 steps
turn right
end
endbacktracking
execute Square
endmove 6 steps
execute Square
```## Project Status:
The development is temporarily frozen
since I don't have enough time for
project enhancement.
There is a chance it will be resumed
in the future.
If you would like to support me financially,
just let me know, maybe I will setup some sort
of donation service for that purpose.
My email is [email protected]