CoronaAI

Discuss the new AI features ("NoAI") introduced into OpenTTD 0.7, allowing you to implement custom AIs, and the new Game Scripts available in OpenTTD 1.2 and higher.

Moderator: OpenTTD Developers

Post Reply
libik
Engineer
Engineer
Posts: 40
Joined: 18 Nov 2006 11:39

CoronaAI

Post by libik »

This is very simple AI that was written while I was ill due to having covid-19.

I spent only two partial days working on it, therefore it really is intended to be simple.

It will try to spread to all cities (similar to corona :) ). Its using buses alone.

https://github.com/libor-vilimek/ottd-coronaai

Image
Attachments
Unnamed, 11th Dec 1985.png
(1.24 MiB) Not downloaded yet
Hi all
User avatar
odisseus
Traffic Manager
Traffic Manager
Posts: 169
Joined: 01 Nov 2017 21:19

Re: CoronaAI

Post by odisseus »

How does its performance compare to that of the other bus AIs?
libik
Engineer
Engineer
Posts: 40
Joined: 18 Nov 2006 11:39

Re: CoronaAI

Post by libik »

odisseus wrote: 16 Nov 2020 11:47 How does its performance compare to that of the other bus AIs?
Not well, it is capable of using buses only within the same city, therefore the profit is not that high and also the property maintance of all the stations and depots are quite big which keeps the profits down even more.

But it was not built as competitive AI anyway, it just tries to spread everywhere as fast as possible (its Corona AI after all :) ).

If I am going to develop AI with pathfinding alghorithm in future, it will be definitely train-based.
Hi all
Post Reply

Return to “OpenTTD AIs and Game Scripts”

Who is online

Users browsing this forum: No registered users and 3 guests