AI Ladder, 0.5

AI Ladder, 0.5

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
User avatar
hughperkins
AI Developer
Posts: 836
Joined: 17 Oct 2006, 04:14

AI Ladder, 0.5

Post by hughperkins » 14 Sep 2009, 07:26

AI Ladder, v0.5

Release v0.5:
========

Download: for latest release, please check the last few posts in this thread.
For latest tarball from git, you can download from:
http://github.com/hughperkins/ailadder/archives/master

Dev:
===

Source-code: http://github.com/hughperkins/ailadder/

Staging website: http://manageddreams.com/ailadderstaging/
Reload staging db from git (implies purges all data): http://manageddreams.com/ailadderstaging/reloaddb.cgi
Update staging website from git: http://manageddreams.com/ailadderstaging/updatesite.cgi

Original thread initiator:

Idea: create an AI ladder

The way it could work is
- you have a standard map/mod that will be used for all game.
- you have a machine that runs automatically matches between the latest versions of each AI, maybe three matches between each pair of AIs?
- then, there could be either a grid showing which AI beat which AI
- or, possibly some sort of ladder system, ordering the AIs from 1 through to n.
Last edited by hughperkins on 18 Oct 2009, 03:58, edited 9 times in total.
0 x

User avatar
Error323
AI Developer
Posts: 237
Joined: 28 Nov 2006, 16:46

Re: Idea for someone enterprising: create an AI ladder

Post by Error323 » 14 Sep 2009, 10:58

Excellent idea!!. Also it should host the replays somewhere, and maybe the possibility to connect to live games? xD
0 x

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Idea for someone enterprising: create an AI ladder

Post by imbaczek » 14 Sep 2009, 11:46

would be easier if someone helped hoijui with his headless spring branch.
0 x

User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Idea for someone enterprising: create an AI ladder

Post by aegis » 14 Sep 2009, 12:10

I can run the actual matches if we get headless spring... and could provide for joining games in progress if I finished my dedicated server clone...
0 x

User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: Idea for someone enterprising: create an AI ladder

Post by 1v0ry_k1ng » 14 Sep 2009, 15:08

Well, I know just the map for an AI ladder :-)

Image

12x12, wind or solar avaliable, chokes and open area, geo access, no typemaps, largely flat but with kbot only ramps.

I used to do alot of this back when NTAI, KAI, RAI and AAI all worked well.

the general rule should be that AIs can have maphacks but no resource hacks.

This is the current heirachy in BA 1v1ing:

E323AI
KAI
RAI
AAI
0 x

User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: Idea for someone enterprising: create an AI ladder

Post by thesleepless » 14 Sep 2009, 15:22

doesn't test their water ability though

what about small supreme battlefield v2?
0 x

User avatar
1v0ry_k1ng
Posts: 4656
Joined: 10 Mar 2006, 10:24

Re: Idea for someone enterprising: create an AI ladder

Post by 1v0ry_k1ng » 14 Sep 2009, 15:32

AIs and water dont mix
0 x

User avatar
thesleepless
Posts: 417
Joined: 24 Oct 2007, 04:49

Re: Idea for someone enterprising: create an AI ladder

Post by thesleepless » 14 Sep 2009, 15:43

if they never play in water they'll never learn to swim.
0 x

ato
Posts: 10
Joined: 09 Sep 2009, 05:32

Re: Idea for someone enterprising: create an AI ladder

Post by ato » 14 Sep 2009, 15:48

Eventually we could have a couple of different ladders for different game types once more AIs support them. Something along the lines of:
  • Land + maphack
  • Land + no cheats at all
  • Islands
  • Water
I agree with making the initial test map a small land map with geos and chokepoints, it lowers the bar to entry while still allowing a variety of strategies.
Last edited by ato on 14 Sep 2009, 16:07, edited 1 time in total.
0 x

User avatar
Error323
AI Developer
Posts: 237
Joined: 28 Nov 2006, 16:46

Re: Idea for someone enterprising: create an AI ladder

Post by Error323 » 14 Sep 2009, 16:02

How about creating a webinterface to the server that allows one to create a maplist through which it iterates, select the ai's, and push "go". And after some playing the server returns statistics + demos of the played games to your mail adress via url or something.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: Idea for someone enterprising: create an AI ladder

Post by hoijui » 14 Sep 2009, 20:25

imbaczek wrote:would be easier if someone helped hoijui with his headless spring branch.
this!

no use in talking about the other stuff really, its all easy peasy comapred to this.. i would say.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: Idea for someone enterprising: create an AI ladder

Post by AF » 14 Sep 2009, 20:53

Sea & AIs

NTai and OTAI both attempted to play games with ships, hovercraft, and submarines to varying lengths

Website

I would rather have a distinction between AIs of different versions, so an AI could appear multiple times in a league, say ABCAI revision 2 holds spot #2 and revision 4 holds #1 because it works better.

I'd also like any such site to be passive, so it didn't actually run the tests itself but collected and displayed them based on win loss statistics sent in.

University & AF

This kind of statistical tool would be very useful for my final year analysis and presentation depending on what I finally do. If somebody can describe how to build the client end, I may do this all as a proof of concept.
0 x

User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: Idea for someone enterprising: create an AI ladder

Post by aegis » 14 Sep 2009, 21:46

Error323 wrote:How about creating a webinterface to the server that allows one to create a maplist through which it iterates, select the ai's, and push "go". And after some playing the server returns statistics + demos of the played games to your mail adress via url or something.
hoijui wrote:
imbaczek wrote:would be easier if someone helped hoijui with his headless spring branch.
this!
I'll provide code, servers, and magic duct tape if I get a proper headless spring.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: Idea for someone enterprising: create an AI ladder

Post by AF » 14 Sep 2009, 23:00

How would you detect which AI won the battle?
0 x

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Idea for someone enterprising: create an AI ladder

Post by imbaczek » 14 Sep 2009, 23:03

patch spring.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: Idea for someone enterprising: create an AI ladder

Post by AF » 14 Sep 2009, 23:08

Couldnt it be figured out by reading infolog.txt?
0 x

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Idea for someone enterprising: create an AI ladder

Post by imbaczek » 14 Sep 2009, 23:13

probably yes, but it'd be unnecessarily complex. it'd take about one extra line in spring.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: Idea for someone enterprising: create an AI ladder

Post by AF » 14 Sep 2009, 23:15

you mean using the autohost loopback?
0 x

imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Idea for someone enterprising: create an AI ladder

Post by imbaczek » 15 Sep 2009, 10:35

nah, just print the surviving/winning teams to the infolog at game over. currently only losers are printed, and they use mod-defined death strings.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: Idea for someone enterprising: create an AI ladder

Post by AF » 15 Sep 2009, 15:42

Is that not something we can also do in our AIs or in widgets in the meantime? Winning AIs can be inferred sincetheyll be the AIs at the end of the game that did not get lost messages.
0 x

Post Reply

Return to “AI”