Current Contest
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsCurrent Contest

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:
  #16  
Old September 14th, 2004, 12:09 PM
tsr tsr is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 73 tsr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: ## PREVIEW of the next contest

Ok, I think that that will be clear once you use the terms cost and points.

I'll look into it tonight (that means in about 7h) if you still want to.

/Tomas

Reply With Quote
  #17  
Old September 14th, 2004, 03:46 PM
joncol joncol is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Leeds, UK
Posts: 1 joncol User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

Hi, this maybe a poignant or irrelevant. Within the guidelines it says only code within the class maybe used. Does this mean we cannot use addition classes due to the fact they cannot be defined within the corridor class?

Reply With Quote
  #18  
Old September 15th, 2004, 02:29 AM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 2,070 IAmALlama User rank is Private First Class (20 - 50 Reputation Level)IAmALlama User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 6 Days 8 h 15 m 37 sec
Reputation Power: 5
RE: ## PREVIEW of the next contest

when talking about the map array you mean each location can be called like $map[x][y] correct? and if so, will the array keys be from 0-99 or from 1-100(both of which are 100 long)? or for example would the top left space be 0,0($map[0][0]) or 1,1($map[1][1]).

Reply With Quote
  #19  
Old September 15th, 2004, 03:16 AM
Pests Pests is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 Pests User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

Im guessing since arrays start at 0 then it would be 0-99.

zombie:
The wording of scoring is confusing because you use 'next greatest'. Greatest means the highest you can go, and by saying there is something after the highest gets confusing.

But again for my own clarification, points will be:
points = scripts entered - rank(by cost, starting at 0)

So if 15 people enter, and you have the 2ed lowest score:
points = 15 - 2
points = 13

Correct?


Reply With Quote
  #20  
Old September 15th, 2004, 04:40 AM
IAmALlama IAmALlama is offline
Me
Click here for more information. Click here for more information
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 2,070 IAmALlama User rank is Private First Class (20 - 50 Reputation Level)IAmALlama User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 6 Days 8 h 15 m 37 sec
Reputation Power: 5
RE: ## PREVIEW of the next contest

as it says in the rules:

the script with the lowest score will receive $numberOfScripts points

in other words if there are 15 people who enter, the person with the lowest score will get 15 points. the person with the 2nd lowest score would get 14 points on down to the highest score which gets 1 point. So the higher the score, the less points you recieve. and the contest is graded on points, the higher the points, the better. if you want a formula for it:
php Code:
Original - php Code
  1.  
  2. $points = $number_of_entries - ($your_place-1);

-OR- with your example...
php Code:
Original - php Code
  1.  
  2. $number_of_entries = 15; //15 total entries
  3. $your_place = 2; //2nd lowest score
  4. $points = $number_of_entries - ($your_place-1);
  5. // would output 14 points.
  6.  

Reply With Quote
  #21  
Old September 15th, 2004, 05:53 PM
Emyl Emyl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 Emyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

A simple question... (sorry for my bad english)

Is there a minimun number of figures?

Thanks

Reply With Quote
  #22  
Old September 15th, 2004, 06:46 PM
Pests Pests is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 Pests User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

IAmALlama:

Yeah, I cought my 13/14 mistake last night but didn't have time to change it.

Reply With Quote
  #23  
Old September 15th, 2004, 10:46 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: 3
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
RE: ## PREVIEW of the next contest

Quote:
Hi, this maybe a poignant or irrelevant. Within the guidelines it says only code within the class maybe used. Does this mean we cannot use addition classes due to the fact they cannot be defined within the corridor class?


You say in the rules:
Quote:
Your script should NOT contain ANY CODE outside of your class


which I dont really understand. What does it matter if we define other classes to be used within our main class? For instance what if I wanted to make a "room" object that will define the location of a room and any connecting corridors. Or a "corridor" object.

If your going to use an Object Oriented Interface I dont think its really fair to cripple us by not allowing us to write our own other classes, that kinda defeats the point of using the object in the first place.

You should rephrase the rule such that all code must be written specifically for this contest by the contestant. For instance, no using existing classes from pear or wherever else and all classes must be defined within the one file.

Reply With Quote
  #24  
Old September 16th, 2004, 04:15 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: ## PREVIEW of the next contest

yeah, sorry, we forgot about that..

in fact, you will be able to have more than one class, but the names of all your classes must start with your username..

for example, if your username at CW is Cypher, you should send a script named Cypher.php, that MUST contain the main interface class named Cypher, but you can also have as many classes as you like, all of the form Cypher_room, CypherCorridor, and similar..

i think that is ok?

Reply With Quote
  #25  
Old September 16th, 2004, 07:00 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: 25
RE: ## PREVIEW of the next contest

PHP allows for more than one class per file, although this is not the best way to code. A WIKI setup for contest rules would be most useful. Then lock it when the contest starts... :-D

Reply With Quote
  #26  
Old September 17th, 2004, 06:45 AM
Emyl Emyl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 Emyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: ## PREVIEW of the next contest

???...

Sorry?

Quote:
A simple question... (sorry for my bad english)

Is there a minimun number of figures?

Thanks


Reply With Quote
  #27  
Old September 17th, 2004, 10:04 AM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: ## PREVIEW of the next contest

eh.. two?

Reply With Quote
  #28  
Old September 17th, 2004, 10:20 AM
Pests Pests is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 Pests User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

I think he is asking if there will be a maximum number of rooms. I can't remember if it was noted in the rules or not.

Reply With Quote
  #29  
Old September 17th, 2004, 11:07 AM
Emyl Emyl is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 3 Emyl User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: ## PREVIEW of the next contest

NO...

The question is correct as is...

I would like to explain what I mean with my question... but it's too difficult for me, if somebody speaks italian... :-)

Thanks to zombie

Reply With Quote
  #30  
Old September 18th, 2004, 06:41 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: 3
Send a message via ICQ to Cypher Send a message via Yahoo to Cypher
RE: ## PREVIEW of the next contest

Zombie. Yah, that would be great. You should update the rules to allow the multiple classes with the same naming convention.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsCurrent Contest > ## PREVIEW of the next contest


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 | 
  
 




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