Programmer Challenge: create an OpenTTD AI

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

TrueBrain
OpenTTD Developer
OpenTTD Developer
Posts: 1312
Joined: 31 May 2004 09:21

Re: Programmer Challenge: create an OpenTTD AI

Post by TrueBrain » 21 Feb 2008 13:44

To break my own silence on this forum, I would like to make an offer:

Although I am very much 100% retired from OpenTTD development, I have a big interest in finish up the NoAI of OpenTTD. The main problem I had in the past, is that there was no user-group which tested the function we created, and gave advise on functions they needed and used. Therefor, it was impossible to continue this API, as I had no idea which direction to go.

That said, I am willing to help you out finishing the NoAI to which ever extend you need for such an AI challenge, if you can help me by telling what you need exactly. Of course this doesn't need to be done at once, and can change in time, but the feedback is very much critical for any success of NoAI.

If you are interested, please drop me an email at truelight at openttd.org, or visit me at IRC (irc.oftc.net, nickname TrueBrain, I am online, just not in any normal channel ;)). If there is any interest in a face-to-face meet, I am a CS student at The University of Leiden, so TJIP is not that far away ;)

Also I would like to ask, while looking into NoAI and creating AIs, to update and add things to the AI part of the wiki: http://wiki.openttd.org/index.php/AI:Main_Page. This is also a critical part to make NoAI any success.

To give some addition info: there is a (small) list of things that needs to be done in NoAI here: http://wiki.openttd.org/index.php/AI:TODO
The only thing necessary for the triumph of evil is for good men to do nothing.

User avatar
sickie
Engineer
Engineer
Posts: 85
Joined: 15 Sep 2007 00:51
Location: Slovenia
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by sickie » 27 Mar 2008 00:12

I am really sorry for bumping this thread, but I am very interested in a new AI. Are there any updates for this challenge? What's going on WITH!!!!! this? Sorry for my bad English.

User avatar
Digitalfox
Chief Executive
Chief Executive
Posts: 704
Joined: 28 Oct 2004 04:42
Location: Catch the Fox if you can... 15 years and counting!

Re: Programmer Challenge: create an OpenTTD AI

Post by Digitalfox » 27 Mar 2008 01:25

You can keep up with discussion and updates about the New AI called NoAI in irc://irc.oftc.net/openttd.noai

Or you can go checking the branch NoAI..

Leviath.NL
Traffic Manager
Traffic Manager
Posts: 152
Joined: 28 Jan 2006 15:00

Re: Programmer Challenge: create an OpenTTD AI

Post by Leviath.NL » 25 Apr 2008 19:54

Yesterday I saw this poster in the basement of my studenthouse: (Sorry for the poor quality)
Tjip Transport Tycoon
Tjip Transport Tycoon
Image041.jpg (55.07 KiB) Viewed 5852 times

Niek
Transport Coordinator
Transport Coordinator
Posts: 364
Joined: 16 Dec 2007 12:52

Re: Programmer Challenge: create an OpenTTD AI

Post by Niek » 25 Apr 2008 20:09

Any chance of getting a higher quality version, it looks interesting.

DaleStan
TTDPatch Developer
TTDPatch Developer
Posts: 10285
Joined: 18 Feb 2004 03:06
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by DaleStan » 25 Apr 2008 20:23

Niek wrote:Any chance of getting a higher quality version
Translation: "Turn on the lights and don't use your phone."
To get a good answer, ask a Smart Question. Similarly, if you want a bug fixed, write a Useful Bug Report. No TTDPatch crashlog? Then follow directions.
Projects: NFORenum (download) | PlaneSet (Website) | grfcodec (download) | grfdebug.log parser

Leviath.NL
Traffic Manager
Traffic Manager
Posts: 152
Joined: 28 Jan 2006 15:00

Re: Programmer Challenge: create an OpenTTD AI

Post by Leviath.NL » 25 Apr 2008 20:36

DaleStan wrote:
Niek wrote:Any chance of getting a higher quality version
Translation: "Turn on the lights and don't use your phone."
It is in an basement where there are automatic lights and I just prefer to use my crappy phone-camera instead of my 12 Megapixel single-lens reflex camera I have always hanging around my neck.

Yexo
Tycoon
Tycoon
Posts: 3653
Joined: 20 Dec 2007 12:49

Re: Programmer Challenge: create an OpenTTD AI

Post by Yexo » 25 Apr 2008 21:02

Can you then at least make a readable pic with your phone-camera?

Fiddler
Engineer
Engineer
Posts: 26
Joined: 21 Feb 2008 17:13
Location: on the roof

Re: Programmer Challenge: create an OpenTTD AI

Post by Fiddler » 25 Apr 2008 22:47

My guess is that the text on the picture is very closely related to this web page (and the other pages from the side menu under Evenementen -> TJIP Challenge)...

User avatar
Corniel
Engineer
Engineer
Posts: 17
Joined: 01 Feb 2008 14:06
Location: Leiden - Netherlands
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by Corniel » 29 Apr 2008 12:23

Leviath.NL wrote:Yesterday I saw this poster in the basement of my studenthouse (..)
Well here it is:

Image

Code: Select all

while(Me.Alive()){
    Me.KickAss();
    try{
        Me.LearnLanguage(Language.EN);
        Me.dyslectic = false;
    }
    catch{ /*nice try :( */}
}

morfeus839
Engineer
Engineer
Posts: 22
Joined: 22 Apr 2005 16:23

Re: Programmer Challenge: create an OpenTTD AI

Post by morfeus839 » 29 Apr 2008 15:39

and translation?

Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4748
Joined: 09 Sep 2007 05:03
Location: home

Re: Programmer Challenge: create an OpenTTD AI

Post by Alberth » 29 Apr 2008 16:05

TJIP challenge 2008

take control and become a
TRANSPORT TYCOON

after the success of the Jeu Awale' programming competition TJIP is organizing a TJIP challenge with the open Transport Tycoon Deluxe game in 2008

Assignment: Program an AI for the open Transport Tycoon Deluxe game within the OpenTTD AI framework.

Build trucks, buses, roads, and stations. Transports goods and persons, and make a profit!

But be warned: You are not alone and your opponents will do anything to oppose you while they build their imperium.

If you want to compete your programming talents against others, register, and make a chance for the main prize, hardware for 2500 euros.

Kick-off takes place at 24 may 2008 (helmond), or june 7 2008 (delft). Finales are in Delft at september 20, 2008.

(bottom)
For more information and subscribing,
www.tjipchallenge.com

User avatar
Maedhros
OpenTTD Developer
OpenTTD Developer
Posts: 603
Joined: 30 Mar 2006 18:24
Location: Durham, UK

Re: Programmer Challenge: create an OpenTTD AI

Post by Maedhros » 29 Apr 2008 16:41

Hmm. No-one told them that OpenTTD isn't an acronym, then...
No-one's more important than the earthworm.

morfeus839
Engineer
Engineer
Posts: 22
Joined: 22 Apr 2005 16:23

Re: Programmer Challenge: create an OpenTTD AI

Post by morfeus839 » 29 Apr 2008 17:21

and what it is then? :)

T-Unit
Transport Coordinator
Transport Coordinator
Posts: 368
Joined: 03 Feb 2007 18:53
Location: Leeds, England

Re: Programmer Challenge: create an OpenTTD AI

Post by T-Unit » 29 Apr 2008 17:32

It is just OpenTTD. Something to do with legalities etc i think.

User avatar
Corniel
Engineer
Engineer
Posts: 17
Joined: 01 Feb 2008 14:06
Location: Leiden - Netherlands
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by Corniel » 18 Jul 2008 13:14

Maybe this thread can be moved to the NoAI sub?

Code: Select all

while(Me.Alive()){
    Me.KickAss();
    try{
        Me.LearnLanguage(Language.EN);
        Me.dyslectic = false;
    }
    catch{ /*nice try :( */}
}

User avatar
Timitry
Transport Coordinator
Transport Coordinator
Posts: 313
Joined: 01 Oct 2004 15:28
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by Timitry » 18 Jul 2008 19:42

You just dug it out so that it will be moved? Why did you not just let it rest in peace, it seems like it is not needed anymore.

User avatar
Corniel
Engineer
Engineer
Posts: 17
Joined: 01 Feb 2008 14:06
Location: Leiden - Netherlands
Contact:

Re: Programmer Challenge: create an OpenTTD AI

Post by Corniel » 08 Sep 2008 14:22

Timitry wrote:You just dug it out so that it will be moved? Why did you not just let it rest in peace, it seems like it is not needed anymore.
I guess that after the final, I'd like to inform the comunity about it? Futhermore, there are some participants of the challenge who are active on this forum.

Just my 2cts...

Code: Select all

while(Me.Alive()){
    Me.KickAss();
    try{
        Me.LearnLanguage(Language.EN);
        Me.dyslectic = false;
    }
    catch{ /*nice try :( */}
}

User avatar
Corniel
Engineer
Engineer
Posts: 17
Joined: 01 Feb 2008 14:06
Location: Leiden - Netherlands
Contact:

'Rondje rond de kerk' Victorius

Post by Corniel » 23 Sep 2008 11:43

The second Tjip Challenge was an easy victory for the Rondje rond de kerk (Round trip around the church, Dutch/Flemish saying to point out that something is boring. It has its origin in cycling). During the qualification it scored an impressive 15 million pound average, while Ottari (the runner-up) only made 3.5 million.

At the finales all engines kept there places. Third place was for Shadow Inc., although it went bankrupt once and scored bad in the other final.

Final Standings
  1. Rondje rond de kerk (£15,671,342)
  2. Ottari (£3,487,225)
  3. Shadows Inc. (£2,798,447)
  4. NAAI (£876,351)
  5. YATTAI (£760,638)
  6. SubsidyAI (£512,639)
  7. NoCAB (£73,984)
  8. GoingForGold (£17,380)
  9. Appelmoes Intelligentie (£-38,291)
I’d like to point out that I really enjoyed this challenge, both as participant and organiser, even when it turned out that NoCAB (the AI of Morloth and I) performed horrible compared to the others. It was really fun to meet al those OpenTTD adepts, including TrueBrain and Rubidium.

A comprehensive report (in Dutch) can be found elsewhere: gathering.tweakers.net
For reactions of participants see: http://www.tt-forums.net/viewtopic.php?f=65&t=39343

Code: Select all

while(Me.Alive()){
    Me.KickAss();
    try{
        Me.LearnLanguage(Language.EN);
        Me.dyslectic = false;
    }
    catch{ /*nice try :( */}
}

Roujin
Tycoon
Tycoon
Posts: 1884
Joined: 08 Apr 2007 04:07

Re: Programmer Challenge: create an OpenTTD AI

Post by Roujin » 23 Sep 2008 13:44

Thanks for the information. :) Would someone who speaks dutch be so kind and translate the post here into english for those who don't understand dutch? :) (I was able to figure out some parts of it because it sounds like a mixture of german and english with horrible spelling if you read over it :lol: )
* @Belugas wonders what is worst... a mom or a wife...
<Lakie> Well, they do the same thing but the code is different.

______________
My patches
check my wiki page (sticky button) for a complete list

ImageImage
ImageImageImageImageImageImageImage

Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 4 guests