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:
  #1  
Old May 21st, 2004, 06:17 PM
jmpoast jmpoast is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 jmpoast User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[appleeaters]Scoring

The scoring is listed as:

"Score = (100 * apples eaten) + (10 * moves) + (1 * dead robots)"

I'm assuming moves = the number of moves it took you to end the game. If this is the case then you are actually being penalized for killing the robots quickly. It seems more logical that killing all of the robots as quickly as possible would be a good thing. With scoring like this the best way to get the highest score would be to kill all robots except 1 and dance around until the time is almost up (giving 10 points for each move) and then either grabbing the last apple or killing the last robot at the last second.

Reply With Quote
  #2  
Old May 21st, 2004, 06:39 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 8
[appleeaters]RE: Scoring

I agree with you in theory. Let me think on it a bit. A simple solution might be to turn the equation into:

Score = (100 * apples eaten) + (10 * dead robots) - (2 * moves)

Reply With Quote
  #3  
Old May 21st, 2004, 06:41 PM
jmpoast jmpoast is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 jmpoast User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[appleeaters]RE: Scoring

I was thinking along those same lines.

Allthough it is kind of a neat idea to have to maximize the number of moves, but in this case you could have an infinite number of moves (if it weren't for the time limit)

Reply With Quote
  #4  
Old May 21st, 2004, 06:47 PM
Matt Matt is offline
Contributing User
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 12 m 16 sec
Reputation Power: 8
[appleeaters]RE: Scoring

It is neat to try and maximize moves, but I believe it will result in a better winning algorithm if you are forced to minimize moves...

Reply With Quote
  #5  
Old May 21st, 2004, 08:37 PM
zackcoburn zackcoburn is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 184 zackcoburn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
[appleeaters]RE: Scoring

My original equation was designed to give ten points per move for the scripts that are programmed to simply avoid robots intelligently, but I can see the argument that is being made, and I am open to either philosophy.

Reply With Quote
  #6  
Old May 21st, 2004, 11:19 PM
honcho's Avatar
honcho honcho is offline
Contributing User
Codewalkers Beginner (1000 - 1499 posts)
 
Join Date: Apr 2007
Location: Cape Cod
Posts: 1,347 honcho User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 52 m 2 sec
Reputation Power: 5
[appleeaters]RE: Scoring

Why not just use number of apples eaten as the score? That way you're not promoting any specific strategy (e.g., stay alive as long as possible, kill robots as quickly as possible, just jump around randomly) and simply supplying a goal.

It will mean there will be a greater number of ties, but with enough games played over a diverse set of situations, that shouldn't really be a problem.

Reply With Quote
  #7  
Old May 22nd, 2004, 03:04 AM
jmpoast jmpoast is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 jmpoast User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
[appleeaters]RE: Scoring

I think that would make way to many ties. The contest should be not only for a working algorithm, but bonuses to the most efficient algorithms.

Maybe you could give a bonus for NOT killing robots, it would make it a lot harder to keep them alive and still get all of the apples. It could be like:

Score = (100 * apples eaten) + (10 * dead robots) - (2 * moves)
if(dead robots == 0) Score += 20 * num_robots

Just an idea.

Reply With Quote
  #8  
Old May 22nd, 2004, 03:43 AM
jinxidoru jinxidoru is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Provo, Utah, USA
Posts: 17 jinxidoru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via Yahoo to jinxidoru
[appleeaters]RE: Scoring

My $.02 is that moves should either not count towards the equation at all, or have a very small negative effect.

It would also be nice if your script gained extra points for answering the question:

Apple Core! Who's your friend?

Reply With Quote
  #9  
Old May 22nd, 2004, 03:46 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: 26
[appleeaters]RE: Scoring

I do not think it is possible to move around indefinatly. the distance between you and the robot will either stay the same or decrease with each move excluding the teleport moves.

Assume you move in the perfect direction away from the robot 1 space (this would increase your distance from the robot by 1), the robot then also moves 1 space directly towards you (reducing the distance by 1).
Now assume you don't move in that perfect direction away from the robot, this would only increase your distance by a number less than 1, the robot would still move directly towards you reducing the distance by 1. This overall would decrease the distance between you and the robot.

Thus, the only way to move indefinatly is to have an unlimited number of teleports and get lucky with where you teleport to, or have a game board of infinite size where you can move in 1 direction forever, which we don't have

Reply With Quote
  #10  
Old May 22nd, 2004, 04:06 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: 26
[appleeaters]RE: Scoring

Another thought to the scoring would allow the Robots to eat the apples as well and therefore any apples that have been eaten can't be included in the final score.

Reply With Quote
  #11  
Old May 22nd, 2004, 08:02 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: 26
[appleeaters]RE: Scoring

From the rules:
-If the player kills all the robots then the game ends, and the remaining apples are added to the player's score.

Is this the only way to end the game? What if the player eats all the apples?

Because if this is the only way to end the game, then going after the apples is pointless. Think about it.. If the only way to win is to kill all the robots, and you get all the remaining apples when that occurs, then why go after the apples at all? The only goal is to kill all the robots. You get all the apples for free anyway once that goal has been accomplished, so there's no point in trying for them more quickly.

Now, if the game ends when you get all the apples on the field, then you might want to go after them when you can, because then you can end the game that way as well. It's an alternative goal, and the algorithim design now has to decide which goal is more likely to be accomplished: kill the robots or eat the apples.

Reply With Quote
  #12  
Old May 22nd, 2004, 08:20 PM
Jeff321 Jeff321 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Near Chicago, IL, USA
Posts: 45 Jeff321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via AIM to Jeff321
[appleeaters]RE: RE: Scoring

Quote:
If the only way to win is to kill all the robots, and you get all the remaining apples when that occurs, then why go after the apples at all?


Good point... I wondered the same thing.

Reply With Quote
  #13  
Old May 22nd, 2004, 10:05 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: 26
[appleeaters]RE: Scoring

Just wanted to post that the Scoring method needs to be decided soon. I can't come up with a strategy as long as the Scoring is still in limbo.

I was going to start coding this weekend, but I can't as long as there's a chance my strategy needs to change.

BTW, cool contest.

Reply With Quote
  #14  
Old May 22nd, 2004, 10:41 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: 26
[appleeaters]RE: Scoring

Wouldn't another option be to limit the number of moves the "player" can take?

Reply With Quote
  #15  
Old May 22nd, 2004, 11:14 PM
Jeff321 Jeff321 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Near Chicago, IL, USA
Posts: 45 Jeff321 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via AIM to Jeff321
[appleeaters]RE: RE: Scoring

Quote:
Wouldn't another option be to limit the number of moves the "player" can take?

That's somewhat limited already by the execution time.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [appleeaters]Scoring


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




 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

Request Your Free Technology Downloads!
 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

Request Your Free Technology Downloads!
 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

Request Your Free Technology Downloads!
 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

Request Your Free Technology Downloads!
 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.


© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek