hacker.org Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Matching system ?

 
Reply to topic    hacker.org Forum Index » BitBath View previous topic
View next topic
Matching system ?
Author Message
Jey123456



Joined: 29 May 2008
Posts: 7

Post Matching system ? Reply with quote
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


Last edited by Jey123456 on Wed Feb 02, 2011 11:35 pm; edited 1 time in total
Tue Jun 03, 2008 2:53 pm View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
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
Tue Jun 03, 2008 5:53 pm View user's profile Send private message Visit poster's website
Jey123456



Joined: 29 May 2008
Posts: 7

Post Reply with quote
ah, i see, its manually done ?. I tought there would be some sort of automatic fight hehe. Thx for answering lol
________
herbal vaporizers


Last edited by Jey123456 on Wed Feb 02, 2011 11:35 pm; edited 1 time in total
Tue Jun 03, 2008 6:35 pm View user's profile Send private message
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
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
Tue Jun 03, 2008 6:41 pm View user's profile Send private message Visit poster's website
Kender



Joined: 25 Jun 2009
Posts: 18

Post Reply with quote
Hey Adum,

Could you press the button again please? Very Happy

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

Code:
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? Rolling Eyes

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:
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)
  }
}

Fri Jul 17, 2009 8:45 am View user's profile Send private message Visit poster's website
adum



Joined: 19 Apr 2007
Posts: 392

Post Reply with quote
k, i ran it some more =)
Sat Jul 18, 2009 4:17 pm View user's profile Send private message Visit poster's website
Kender



Joined: 25 Jun 2009
Posts: 18

Post Reply with quote
ooh yeah, gimme more, I'm an addict!
Sun Jul 19, 2009 3:10 am View user's profile Send private message Visit poster's website
Display posts from previous:    
Reply to topic    hacker.org Forum Index » BitBath All times are GMT
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.