Welcome to the Karel the Robot Simulator!
About/Contact
|
Overview
|
Commands & Functions Reference
|
JavaScript Language Reference
|
Projects
|
Implementation Notes
Manual Actions:
Initialize empty world
Width:
1
2
3
4
5
6
7
8
9
10
11
12
Height:
1
2
3
4
5
6
7
8
9
10
11
12
Load world
World:
7x7 turning practice
Sample #1
Sample #2
Sample #3
--------------------------------------------
Empty 10x4
Empty 8x8
--------------------------------------------
8x8 with beepers #1
8x8 with beepers #2
8x8 with beepers #3
8x8 with random beepers
--------------------------------------------
12x4 with hurdles #1
12x4 with hurdles #2
12x4 with hurdles #3
12x4 with random hurdles
--------------------------------------------
12x8 with beepers in bag
--------------------------------------------
12x12 maze #1
--------------------------------------------
Greetings!
Put Karel at (1, 1) facing north
Turn on
Turn off
Move
(up arrow)
Turn left
(left arrow)
Turn right
(right arrow)
Pick up a beeper
Put down a beeper
Program:
Language:
Insert:
function goUntilCant() { while ( isFrontClear() ) { move(); } } function main() { goUntilCant(); }
Immediate Window:
Status:
Log:
Clear Log
© Copyright Mike Fine, 2012