gcode-mirror / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 1 forks source link

Support Python #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Python seems to be a very popular language. We definitely must support it.

Original issue reported on code.google.com by cameron.jp@gmail.com on 12 Aug 2010 at 12:02

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, I'm working on porting the cpp code to python at the moment. I can post a 
link to this after I'm done if you're interested.

Original comment by archg...@gmail.com on 3 Sep 2010 at 1:36

GoogleCodeExporter commented 9 years ago
And it would appear that in the svn, there is already a python starter kit. My 
pardon. ;)

Original comment by archg...@gmail.com on 3 Sep 2010 at 1:39

GoogleCodeExporter commented 9 years ago
Line 86 contains of the planetwars.py file contains an error

f = Fleet(owner = components[1],
                          num_ships = components[2],
                          source_planet = components[3],
                          destination_planet = components[4],
>>                    trip_trip_length = components[5],
                          turns_remaining = components[6])

trip_trip_length = components[5] should be total_trip_length.

Original comment by archg...@gmail.com on 3 Sep 2010 at 3:09

GoogleCodeExporter commented 9 years ago
Hey archgoon. I am a huge fan of people from the internet taking an interest in 
the ai-contest project! Join the project mailing list and we'll hopefully do a 
bunch of work together in the near future.

The python starter package has been started, but I wouldn't say it's done yet. 
As you point out, there are a few issues that have to be ironed out. I will add 
you as a committer so that if you do get it working you can contribute your 
changes directly.

The caveat: if you commit code yourself, you cannot compete in the contest. If 
you still want to compete, that's fine. You can send a patch to another 
committer and have them commit it for you. This is an annoying rule, I know. 
It's designed to avoid the perception of rigging that would come as a result of 
a committer winning the contest.

Welcome aboard!

Original comment by cameron.jp@gmail.com on 3 Sep 2010 at 3:31

GoogleCodeExporter commented 9 years ago

Original comment by cameron.jp@gmail.com on 3 Sep 2010 at 3:31

GoogleCodeExporter commented 9 years ago
There has been a new development. Ivan Rodriguez Almuina has kindly created a 
new Python starter package from scratch. I have tested it with the client and 
server game engines, and it seems to work just fine. I have replaced the old 
Python starter package with the new one, and updated the website. We now 
support Python!

Anybody want to create packages for other languages? C#, Haskell, Common Lisp, 
Go?

Original comment by cameron.jp@gmail.com on 5 Sep 2010 at 5:40