The Battle of 100 Freeciv AIs

Things that are not directly connected with Factorio.
Post Reply
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

The Battle of 100 Freeciv AIs

Post by ssilk »

http://play.freeciv.org/blog/2015/04/th ... eeciv-ais/


Good question: Is an AI for Factorio possible?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: The Battle of 100 Freeciv AIs

Post by keyboardhack »

It's certainly possible to make an AI(working with a neural network) play factorio, but due to the static nature of factorio(nearly no randomness) it would be a lot more efficient to make the AI use a decision tree instead of a neural network.
Waste of bytes : P

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: The Battle of 100 Freeciv AIs

Post by DaveMcW »

It's easy to write an AI for Factorio. The most challenging part of the game is designing efficient layouts, which can be pre-programmed into the AI.

It wouldn't take much effort to write an AI that outperforms most humans.

If PVP or PVE ever becomes interesting it might get harder for the AI.

Val
Inserter
Inserter
Posts: 29
Joined: Sun Jul 19, 2015 7:59 pm
Contact:

Re: The Battle of 100 Freeciv AIs

Post by Val »

DaveMcW wrote:It's easy to write an AI for Factorio. The most challenging part of the game is designing efficient layouts, which can be pre-programmed into the AI.
If the map conditions are favorable then yes, but with jagged coasts and big rocks at random locations a simple pre-programmed layout might easily fail.

nobodx
Fast Inserter
Fast Inserter
Posts: 157
Joined: Mon Jul 06, 2015 3:22 pm
Contact:

Re: The Battle of 100 Freeciv AIs

Post by nobodx »

Keen Software House (Space Engineers) is currently developing an AI for any given task (at least that's their plan) including artificial players for games.
http://blog.marekrosa.org/2015/05/gener ... 8.html?m=1

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: The Battle of 100 Freeciv AIs

Post by kovarex »

nobodx wrote:Keen Software House (Space Engineers) is currently developing an AI for any given task (at least that's their plan) including artificial players for games.
http://blog.marekrosa.org/2015/05/gener ... 8.html?m=1
Yes, I know about them. Actually, I would like to do something like this, but better ofcourse :)

Rage
Long Handed Inserter
Long Handed Inserter
Posts: 90
Joined: Sat Aug 09, 2014 2:08 am
Contact:

Re: The Battle of 100 Freeciv AIs

Post by Rage »

How hard would it be to make an AI for Factorio that:
A: Is able to determine what it needs
and B: Is able to design factory layouts for near optimal production ratios
and C: Is able to respond to bitter/player attacks.

nobodx
Fast Inserter
Fast Inserter
Posts: 157
Joined: Mon Jul 06, 2015 3:22 pm
Contact:

Re: The Battle of 100 Freeciv AIs

Post by nobodx »

B isn't that hard.
There are multiple near optimal layouts around the net... The only thing for the ai to do, is to copy them.

A: the more the better. Just build mines over every deposit available. And use the layouts from the inter web.
Maybe check the production-tab every now and then and focus on ore/goods with higher usage than production.

C would be the real pain in the a... rear ;)

Rage
Long Handed Inserter
Long Handed Inserter
Posts: 90
Joined: Sat Aug 09, 2014 2:08 am
Contact:

Re: The Battle of 100 Freeciv AIs

Post by Rage »

nobodx wrote:B isn't that hard.
There are multiple near optimal layouts around the net... The only thing for the ai to do, is to copy them.

A: the more the better. Just build mines over every deposit available. And use the layouts from the inter web.
Maybe check the production-tab every now and then and focus on ore/goods with higher usage than production.

C would be the real pain in the a... rear ;)
Let me tack one more thing on.
D: Is able to decide what to work on next based on available resources and technology, as well as threat level of biters/players.

kingarthur
Smart Inserter
Smart Inserter
Posts: 1459
Joined: Sun Jun 15, 2014 11:39 am
Contact:

Re: The Battle of 100 Freeciv AIs

Post by kingarthur »

creating a factorio ai shouldn't be an impossible task. games like civilization have ai that make decisions on what to build and resources to gather. openttd and locomotion and railroad tycoon all have ai that place track and buildings based on terrain and resources. those 3 are all really old now. i have no idea how good an ai in factorio would be to play with or against but it could be done

Post Reply

Return to “Off topic”