Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 27th, 2004, 02:41 PM
Cypher Cypher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 Cypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
[appleeaters]Benchmarking

Hello Everybody..
I dont know about you guys, but my algorithm is comming along nicely and I was wondering if anybody is up for some benchmarking? I know that I would personally like to see what I am up against.

I have generated three different maps and posted my AI scores next to them. They are all 500x500 maps and I will try and make one that has lots of robots and few apples, one with lots of apples and few robots, and one with about an even mix.

Map 1: Apples: 1886, Robots: 535, Random moves available: 4
http://www.stellarcore.com/phpcontest/benchmark1.txt
My Score: The player ate 11 apples, killed 51 robots, and made 84 moves. Score: 1442

Map 2: Apples: 516, Robots: 1383, Random moves available: 1
http://www.stellarcore.com/phpcontest/benchmark2.txt
My Score: The player ate 1 apples, killed 40 robots, and made 28 moves. Score: 444

Map 3: Apples: 2075, Robots: 2128, Random moves available: 2
http://www.stellarcore.com/phpcontest/benchmark3.txt
My Score: The player ate 1 apples, killed 81 robots, and made 27 moves. Score: 856

Since map3 has so many of both robots and apples, heres another map that has ~500 of each.

Map 4: Apples: 482, Robots: 513, Random moves available: 2
http://www.stellarcore.com/phpcontest/benchmark4.txt
My Score: The player ate 4 apples, killed 57 robots, and made 79 moves. Score: 812


Reply With Quote
  #2  
Old May 27th, 2004, 05:44 PM
fidian fidian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 45 fidian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
[appleeaters]RE: Benchmarking

I have two robots that I'm working on. Their scores are

Robot 3 test 1: 10 apples, 119 robots, 116 moves = 1958
Robot 3 test 2: 2 apples, 61 robots, 45 moves = 720
Robot 3 test 3: 0 apples, 57 robots, 21 moves = 528
Robot 3 test 4: 2 apples, 10 robots, 31 moves = 238

Robot 4 test 1: 12 apples, 141 robots, 149 moves = 2312
Robot 4 test 2: 1 apple, 39 robots, 24 moves = 442
Robot 4 test 3: 1 apple, 145 robots, 35 moves = 1480
Robot 4 test 4: 2 apples, 11 robots, 31 moves = 248

I modified them to have static teleport locations (so my robotslib.php would repeat the exact same score for every run I did with the same game and same robot). All this and more at my dorkiest of web sites http://rumkin.com/reference/php_contest/ (only up while the contest runs).

Reply With Quote
  #3  
Old May 27th, 2004, 05:54 PM
Cypher Cypher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 Cypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
[appleeaters]RE: Benchmarking

Great! Later today sometime I will download your updated robotslib and retest my robot again (I have made some updates, so its working a bit better).

Reply With Quote
  #4  
Old May 28th, 2004, 12:08 AM
Cypher Cypher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 Cypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
[appleeaters]RE: Benchmarking

Here are my latest benchmarks using my latest version of my robot and your new robotslib (same teleport points):

Map 1: 8 apples, 136 robots, 130 moves => 1900 points
Map 2: 1 apples, 025 robots, 027 moves => 0296 points
Map 3: 1 apples, 099 robots, 029 moves => 1032 points
Map 4: 5 apples, 054 robots, 127 moves => 0784 points

more updates to come...

Reply With Quote
  #5  
Old May 28th, 2004, 12:39 AM
fidian fidian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 45 fidian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
[appleeaters]RE: Benchmarking

Just checking, but are you using the modified benchmark game files that are on my server too? They have the data required to make the teleport move not use random coordinates (the 'randommoves' lines at the end).

Reply With Quote
  #6  
Old May 28th, 2004, 12:47 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[appleeaters]RE: Benchmarking

My best scores for each (using the current official lib, NOT Tyler's -- so teleport locations will differ):

Map 1 -
The player ate 9 apples, killed 73 robots, and made 86 moves
Score: 1458

Map 2 -
The player ate 2 apples, killed 28 robots, and made 25 moves
Score: 430

Map 3 -
The player ate 2 apples, killed 178 robots, and made 50 moves
Score: 1880

Map 4 -
The player ate 4 apples, killed 129 robots, and made 117 moves
Score: 1456

Chris B

Reply With Quote
  #7  
Old May 28th, 2004, 02:26 AM
Cypher Cypher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 Cypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
[appleeaters]RE: Benchmarking

Fidian: yes

Reply With Quote
  #8  
Old May 29th, 2004, 02:04 AM
Chris Burkhardt Chris Burkhardt is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: CO, USA
Posts: 4 Chris Burkhardt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Chris Burkhardt Send a message via Yahoo to Chris Burkhardt
[appleeaters]RE: Benchmarking

Hi. I've rerun my script through thewe four maps, but this time using Tyler's robotslib so that the teleports are to the same place as your guys'. Better to compare that way.

Map 1 -
The player ate 9 apples, killed 86 robots, and made 113 moves
Score: 1534

Map 2 -
The player ate 1 apples, killed 27 robots, and made 25 moves
Score: 320

Map 3 -
The player ate 2 apples, killed 111 robots, and made 35 moves
Score: 1240

Map 4 -
The player ate 7 apples, killed 33 robots, and made 114 moves
Score: 802

And, thanks to Tyler's MakeMap script, watch my AI play Map 4: http://mretc.net/php_contest/

Reply With Quote
  #9  
Old May 29th, 2004, 02:36 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[appleeaters]RE: Benchmarking

Is all this benchmarking being done on the same machine?

Reply With Quote
  #10  
Old May 29th, 2004, 02:51 AM
Chris Burkhardt Chris Burkhardt is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: CO, USA
Posts: 4 Chris Burkhardt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Chris Burkhardt Send a message via Yahoo to Chris Burkhardt
[appleeaters]RE: Benchmarking

> Is all this benchmarking being done on the same
> machine?

No, but if no one is timing out on any of these maps, it doesn't matter.

Reply With Quote
  #11  
Old May 29th, 2004, 07:43 PM
wtfai wtfai is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Rochdale, UK
Posts: 14 wtfai User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[appleeaters]RE: Benchmarking

My results are:
The player ate 9 apple(s), killed 93 robot(s), and made 113 move(s).
Score: 1604.
The player ate 1 apple(s), killed 28 robot(s), and made 25 move(s).
Score: 330.
The player ate 1 apple(s), killed 108 robot(s), and made 33 move(s).
Score: 1114.
The player ate 7 apple(s), killed 37 robot(s), and made 114 move(s).
Score: 842.

All results using Tyler's lib.

Reply With Quote
  #12  
Old May 29th, 2004, 09:37 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
[appleeaters]RE: Benchmarking

Hey Tyler,

Reply With Quote
  #13  
Old May 29th, 2004, 09:40 PM
Cypher Cypher is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 40 Cypher User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
[appleeaters]RE: Benchmarking

Hey Tyler,
(sorry about last message.. accidentally hit submit)

I think that it would be beneficial if we could modify your perl testing program (perhaps a php version?) so that it uses the same 100 maps so that we can all test with maps that are to spec. If I have time, I will write one up.

Reply With Quote
  #14  
Old May 30th, 2004, 02:45 PM
fidian fidian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 45 fidian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
[appleeaters]RE: Benchmarking

I just finished one. Still need to test it more thoroughly. What I have is on my web site: http://rumkin.com/reference/php_contest/

I'll also be posting my scores there.

Reply With Quote
  #15  
Old May 30th, 2004, 10:03 PM
fidian fidian is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 45 fidian User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
[appleeaters]RE: Benchmarking

FYI: I decreased the number of random games to only 100. My statistics friend told me that 30 games would be a minimum for good statistics, and the 250 games that I was running was way excessive. If you downloaded the benchmark.php file from my web site, just change the 250 at the top of the file.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [appleeaters]Benchmarking


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump