Home News Download Introduction Guide Install Roadmap Library NB module Tasks Scripts FAQ history

English

Create simple commands

Try to create simple commands you will use as a build bricks for more complex commands.
CAREFULSTEP
Careful step to prevent wall crash.
If there is not wall front of Karel execute step else do nothing.
DOUBLESTEP
Two steps
CAREDOUBLESTEP
carefull two steps
TURN
Turn twice to the oposite direction
HORSEL, HORSER
Move robot like chess horse left, right.
FILL
Fill fielsd by signs.
Notice there might be signs yet.
PICKOUT
Pick all signs.
FILLTOWALL
Draw line from signs to the wall.
CROSS
Draw a cross.
CHESSBOARD
Fill town by signs like as a chessboard.
LABEL
If there is not a sign put (or fill) field else do nothing.
SIDESTEPL, SIDESTEPR
Move robot on the left, right field and leave it in the same direction.
HOME
Let robot moves to the initial position - normally to left bottom corner.
HOME
command HOME having walls in maind.

Simple tasks

Complex tasks

More tasks and pictures will be here.
And links to other Karels.


>
Thank to SourceForge.net Logo Reports send to : silhanek (at) users.sourceforge.net RSS Home to top