Home Documentation Download

Welcome to the World of PyRobbie!

PyRobbie is a little robot which you can guide through a world with different objects and obstacles. To guide it, you write small Python programs, thereby you may learn how to program in Python in a playful way.

Here is a screenshot of PyRobbie in action:
PyRobbie in action

The Python program for this scene looks like this:

from pyRobbie.World import *
from pyRobbie.Robot import *

map = """
- - - - - - - - - - - - -
- - - - - - - - - - - - -
- - - - - - - - - - - - -
- - - o o o o o o o - - -
- - - o o o o o o o - - -
- - - o o o o o o o - - -
- - - o o o o o o o - - -
- - - o o o o o o o - - -
- - E o o o o o o o - - -
- - - - - - - - - - - - -
- - - - - - - - - - - - -
- - - - - - - - - - - - -
"""

robbie = Robot("Robbie")

createWorld(map, robbie)

robbie.move()
robbie.move()
robbie.turnLeft()
robbie.move()
robbie.pickBeeper()
robbie.move()
robbie.turnOff()


generated on 10.04.2003 by Tinyweave [Python Powered] SourceForge.net Logo