|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
## OFFICIAL updates
any official updates to the contest text/rules will be posted here by Matt, Zack or zombie.
if you want to ask or discuss something, please start a new thread. thank you.. |
|
#2
|
|||
|
|||
|
RE: ## OFFICIAL updates
first update:
map size will be 50*50 blocks, with a maximum of 50 rooms. (i did some testing, and it seems that the previous limit was too big. i think this should be better) |
|
#3
|
|||
|
|||
|
RE: ## OFFICIAL updates
this is not really an update, but more of a clarification of the rules for diagonal scoring..
here is a picture that circles all the diagonally corridors between two blocks (only in the lower-left part of the corridor). ![]() |
|
#4
|
|||
|
|||
|
RE: RE: ## OFFICIAL updates
Quote:
Could you please also explain (on the picture) how you have count the straight lines because I can't figure out your count. My count is: 19*10 + 9*4 = 226 Thank's. |
|
#5
|
|||
|
|||
|
RE: RE: RE: ## OFFICIAL updates
Quote:
The number of corridors (with cost 10) is the same as the number of green cells on the picture (=16). Then you'll get: 16*10 + 9*4 = 196 |
|
#6
|
|||
|
|||
|
RE: ## OFFICIAL updates
yes, anon is correct.
btw, please, don't comment in this thread. it is just for official updates to the contest. if you have a comment or a question, please start a new thread (but before that, try to read other threads, since this has already been answered before, like 5 times) also, any one of you that already understands the rules, i would be thankful if you try to explain them to those that don't understand them. i am trying, but i seem to have spent my share of good explanations for a while.. ;) |
|
#7
|
|||
|
|||
|
RE: RE: ## OFFICIAL updates
Quote:
|
|
#8
|
|||
|
|||
|
RE: ## OFFICIAL updates
<?php
class breadcrumb_utility { var $screen_id; var $breadcrumbs; function __construct($screen_id) { $this->screen_id = $screen_id; $this->breadcrumbs = $this->_build_link_array(); } // build the link array for breadcrumbs private function _build_link_array() { $screens = array_reverse($this->_recurse_get_screens($this->screen_id, array()), true); $breadcrumbs = '<p class="breadcrumbs">'; foreach ($screens as $id => $value) { if ($id == $this->screen_id) { $breadcrumbs .= $value['screen_title']; ////////////////////////////////////// // CONDITIONAL FOR PHOTO GALLERY // ////////////////////////////////////// if ($_GET['file_name']) { $breadcrumbs .= " ($_GET[file_name])"; } } else { $breadcrumbs .= '<a href="'.ROOT_URL.'screen='.$value['screen'].'">' .$value['screen_title'].'</a> <font size="1">></font> '; } } $breadcrumbs .= '</p><br/>'; return $breadcrumbs; } private function _recurse_get_screens($parent_id, $screens) { $res = mysql_query(' SELECT screen_id, parent_id, screen, screen_title FROM screen WHERE screen_id="'.$parent_id.'"'); if ($row = mysql_fetch_assoc($res)) { $screens[$row['screen_id']] = $row; $this->_recurse_get_screens($row['parent_id'], &$screens); } return $screens; } } ?> |
![]() |
| Viewing: Codewalkers Forums > PHP Contests > Current Contest > ## OFFICIAL updates |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|