Page 1 of 1

Matching system ?

Posted: Tue Jun 03, 2008 2:53 pm
by Jey123456
i was wondering how do the matching system work ?

I usually had at least a few fight every hours, now its been about 2 day since my bot last fight lol.
________
extreme vaporizer

Posted: Tue Jun 03, 2008 5:53 pm
by adum
hey there, i don't run the bots all the time. i usually do it for a while after there's a new one and then stop. but i'm running it again now =)

adum

Posted: Tue Jun 03, 2008 6:35 pm
by Jey123456
ah, i see, its manually done ?. I tought there would be some sort of automatic fight hehe. Thx for answering lol
________
herbal vaporizers

Posted: Tue Jun 03, 2008 6:41 pm
by adum
ah well, i just have to hit a button and it does everything automatically. i don't assign the individual matchups =)

in case you're wondering, it tends to make the newest bots fight more often. so someone who just uploaded a bot will get a lot of fights in quickly.

adum

Posted: Fri Jul 17, 2009 8:45 am
by Kender
Hey Adum,

Could you press the button again please? :D

The bot I uploaded two days ago only got to fight for 5 minutes.. :?

Code: Select all

Opponent Date			Time		 Winner	 Length
asx      2009-07-15	17:24:00	Sun Tzu	576
asx      2009-07-15	17:24:14	Sun Tzu	311
Colossus 2009-07-15	17:25:32	Sun Tzu	275
Xtee     2009-07-15	17:28:47	Sun Tzu	1010
asx      2009-07-15	17:28:51	Sun Tzu	165
Maybe I'm being too impatient? :roll:

Ideally the match runner would run continuously with a very low process priority until all bots have played roughly the same amount of matches. Or is that too simplistic?
Pseudocode:

Code: Select all

while (running) {
  if (New or updated bot) {
    opponents = select bot from bots where bot != newbot
    foreach opponent in opponents {
      play(newbot, opponent)
    }
  }
  avg = select avg(matchcount) from bots
  candidates = select bot from bots where matchcount < (avg*0.9)
  foreach candidate in candidates {
    opponent = select bot from bots where bot != candidate order by rand() limit 1
    play(candidate, opponent)
  }
} 

Posted: Sat Jul 18, 2009 4:17 pm
by adum
k, i ran it some more =)

Posted: Sun Jul 19, 2009 3:10 am
by Kender
ooh yeah, gimme more, I'm an addict!