|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
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 |
|
#17
|
|||
|
|||
|
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?
|
|
#18
|
|||
|
|||
|
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]).
|
|
#19
|
|||
|
|||
|
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? |
|
#20
|
|||
|
|||
|
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: -OR- with your example... |
|
#21
|
|||
|
|||
|
RE: ## PREVIEW of the next contest
A simple question... (sorry for my bad english)
Is there a minimun number of figures? Thanks |
|
#22
|
|||
|
|||
|
RE: ## PREVIEW of the next contest
IAmALlama:
Yeah, I cought my 13/14 mistake last night but didn't have time to change it. |
|
#23
|
||||
|
||||
|
RE: ## PREVIEW of the next contest
Quote:
You say in the rules: Quote:
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. |
|
#24
|
|||
|
|||
|
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? |
|
#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
|
|
#26
|
|||
|
|||
|
RE: RE: ## PREVIEW of the next contest
???...
Sorry? Quote:
|
|
#27
|
|||
|
|||
|
RE: ## PREVIEW of the next contest
eh.. two?
|
|
#28
|
|||
|
|||
|
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.
|
|
#29
|
|||
|
|||
|
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 |
|
#30
|
|||
|
|||
|
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.
|
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Current Contest > ## PREVIEW of the next contest |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|