
Hello, I've been searching around for python analogue of robocode... http://en.wikipedia.org/wiki/Robocode I found just some unfinished experiments but then I thought xturte should be ideal for this: - supors 2d movement :) - supports multiple turtles - has ontimer event as well as onkey (http://xturtle.rg16.at/code/xtx_games/xtx_spaceship.py) maybe smb has tried or wants to try to make little framework for this? I saw robocode in action ~5 years ago when my friend was teaching java maybe now it has more features but then it was enought to gather the prepaired bots' logics (from each student) and run them locally alltogether... and it was really fun and involving ;) bot had information abour the field and coordinates of other bots (and they flying missles) and could decide on direction changing or fireing.. that's all :) -- Jurgis Pralgauskis Don't worry, be happy and make things better ;) http://sagemath.visiems.lt

Jurgis Pralgauskis schrieb:
Hello,
I've been searching around for python analogue of robocode... http://en.wikipedia.org/wiki/Robocode
I found just some unfinished experiments
but then I thought xturte should be ideal for this: - supors 2d movement :) - supports multiple turtles - has ontimer event as well as onkey (http://xturtle.rg16.at/code/xtx_games/xtx_spaceship.py)
maybe smb has tried or wants to try to make little framework for this?
Hi Jurgis, I'll look at this in the evening, or at most tomorrow evening. Now I've to leave - to go to work. May I just point out, that xturtle now lives as turtle.py in the standard library of Python 2.6 / Python 3.0 It also runs with Python 2.5 and with very few modifications with earlier versions back to 2.2 Best regards, Gregor
I saw robocode in action ~5 years ago when my friend was teaching java maybe now it has more features but then it was enought to gather the prepaired bots' logics (from each student) and run them locally alltogether... and it was really fun and involving ;) bot had information abour the field and coordinates of other bots (and they flying missles) and could decide on direction changing or fireing.. that's all :)

I've been searching around for python analogue of robocode... http://en.wikipedia.org/wiki/Robocode but then I thought xturte should be ideal for this:
I started a simple framework for it :) https://launchpad.net/py-robocode/ http://files.akl.lt/users/jurgis/python/py-robocode/
I'll look at this in the evening, or at most tomorrow evening. Now You could look again :)
The implementation will need improvement anyway, my thoughts are here http://bazaar.launchpad.net/~jurgis-pralgauskis/py-robocode/devel/annotate/h... What else could anyone propose?
participants (2)
-
Gregor Lingl
-
Jurgis Pralgauskis