robot programming game in python

Discussion in 'Python' started by Arnaud Delobelle, Jul 8, 2003.

  1. Hi all,

    I have written a little while ago in Python a game whose aim is to
    program a (or several) robots so that they move around in a maze and
    collect some flags. They only have a limited amount of instructions at
    their disposal (depending on the level). It is meant to be an
    introduction to two things:

    - programming

    - boolean expressions

    At the moment I have written the `maze engine' and `maze rendering'
    classes and a level editor/level player making use of those
    classes. It needs Python >=2.2 (new style classes), Tkinter, and the
    Python Imaging Library.

    Now (I hope it is not inappropriate to post this here) I'd really like
    to get some feedback and criticism before I clean it up and try to
    enhance it, as I happen to have lots of free time these days. I'm
    having trouble finding people around me who have python :(

    Description of the project (24kbytes):
    http://marooned.myby.co.uk/marooned/showpage.php?page=readme&style=test

    The project (64 kbytes):
    http://marooned.myby.co.uk/pytobor/pytobor.tgz

    Then

    $tar zxvf pytobor.gz (or any other way)
    $cd pytobor0.5.1
    $python editlevel.py

    There are a few (simple) sample levels called level0.rob to level7.rob.
    Thanks for any feedback (in private!).
     
    Arnaud Delobelle, Jul 8, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.