aichallenge / aichallenge

The source code that drives the AI Challenge
http://aichallenge.org
635 stars 169 forks source link

Releasing code from other years #393

Open braingineer opened 8 years ago

braingineer commented 8 years ago

Hello!

I would like to use your competition server/code in a course I will be teaching. The one I am most interested in is the Tron competition. The code on the forums is unavailable, and I'm having trouble finding a point of contact.

Thank you for your time, Brian McMahan

DanielVF commented 8 years ago

Tron was before my time. Good luck though!

amstan commented 8 years ago

Hello Brian,

I guess i'm the volunteer long term maintainer for this stuff, you can talk to me.

Unfortunately the tron server code hasn't been used in 5 years. While I could look through the archived website(tron.aichallenge.org) for some of the code, i don't think it would be much use to start a new contest. That code slowly got morphed into the planetwars code, then the ants codebase(epsilon), but even epsilon is rather old(and i don't recommend it be used).

Not sure how much of the functionality from the backend you need, but you could start with the started packages then explore the tron forums for various tools(there was a better python tournament engine, a map generator and a visualizer in there).

Janzert commented 8 years ago

It was mostly before my time but here is my understanding. The Tron and RPS contests were created and run solely by University of Waterloo CS Club members all of which, as you'd expect, have now moved on. To my knowledge the only extant code is embodied in the archived website at http://aichallenge.org/ and I see Amstan has replied above regarding that. I agree with him that the server code is probably not usable although you may want to take a look at the starter packages, they may have a useful starting point.

braingineer commented 8 years ago

Hi all,

thanks for your responses!

The tron engine in the forums is a dead link now. (edit: since I had the tab up anyway: here is the link to the exact thread)

Looking at the starter code to see the API is a good idea and I will do that. I'm sure the rest of it can't be horrible to build. My class isn't too big so I don't need a ton of infrastructure.

Thanks all for your time, Brian

Janzert commented 8 years ago

I took a look through my old files when participating in the tron contest and I have a python engine and some maps laying around there. I'm not sure where the engine originated, I don't think it was an official release from the contest but rather was made by one of the other participants. And the old forums aren't loading for me at the moment so it may or may not be what you were linking to above. But in any case maybe these would be some use to you.

tron_engine_source.zip tron_maps.zip

n-ham commented 8 years ago

I am still hoping to find some time this year to set up a new tcp server and site, the first game I intend to implement will be multiplayer tron with wrapped edges. I don't want to commit and say it will happen, but I'm pretty keen for it to happen and am starting to think I will have some time to at least try and make it happen.. Probably wont be useful in time for what you want to do now, but may be useful the next time you want to run something..

I am thinking of making it reasonably easy to just fork a github repository that'll have it's own github page for the server rankings etc, and have scripts just auto-update the page when the server is running.

I handed my phd thesis in two days before christmas, and have been reasonably busy organising some paid work and everything else that was neglected towards the end of the phd. Time wise I will be doing some lecturing/tutoring, and need to polish and write some papers to publish while considering what to do next, but looks like I'll also be doing some work for the physicists here just setting up and monitoring their telescopes, the majority of the time with that I can be working on papers or ai stuff.

Nick.

On Thu, Jan 7, 2016 at 8:22 AM, Janzert notifications@github.com wrote:

I took a look through my old files when participating in the tron contest and I have a python engine and some maps laying around there. I'm not sure where the engine originated, I don't think it was an official release from the contest but rather was made by one of the other participants. And the old forums aren't loading for me at the moment so it may or may not be what you were linking to above. But in any case maybe these would be some use to you.

tron_engine_source.zip https://github.com/aichallenge/aichallenge/files/80371/tron_engine_source.zip tron_maps.zip https://github.com/aichallenge/aichallenge/files/80372/tron_maps.zip

— Reply to this email directly or view it on GitHub https://github.com/aichallenge/aichallenge/issues/393#issuecomment-169466444 .

smiley1983 commented 8 years ago

Hi Brian,

Some time ago I added a Tron game to my fork of the TCP server code, found here:

https://github.com/smiley1983/ants-tcp

You may find something useful in there (though it doesn't attempt to replicate the original Tron AI challenge game, the TCP server does provide a viable means of running the games and printing a nice ranking table).

braingineer commented 8 years ago

Hi all,

Sorry for the late reply, but thanks for all of your replies! Also, congrats @n-ham =). I'm counting down the days....

The TCP serve and tron source look great! Conditioned on ambition, I will hopefully get a python3 port working for hosting AI games. I'll definitely ping back with any code.

Also, in the mean time, I implemented a Snake/Tron type game for that class that guys might be interested in. Basically, it's snake, but changes to the Tron game when you stop deleting the tail. It's written with modular visualizers right now.

Thanks again for the replies and all the best, Brian

smiley1983 commented 8 years ago

People looking at this thread may also be interested in this, which I've been working on over the past few weeks:

https://github.com/smiley1983/aiweb

Currently it runs games of Ants and Tron. Still a work in progress. Suggestions are welcome. I'll probably set up a testing server in the next few days. I'd like to get PlanetWars and RPS running as well.

@n-ham: I think that if I remove the multiple-agents-per-bot element from the Tron game in the code linked above, it will be what you're after. Do you have an idea of how many players per map might be sensible, or what kind of map dimensions? I would also like to see people playing an updated Tron game.

I'd like to get the TCP server code running with a Django website as well, since the original webserver code would choke if it received more than one http request at one time. Anyone interested in discussing any of this can find me at #aichallenge on freenode (same username).