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:
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 September 18th, 2004, 01:39 PM
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: 3
## 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..

Reply With Quote
  #2  
Old September 25th, 2004, 05:39 PM
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: 3
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)

Reply With Quote
  #3  
Old September 25th, 2004, 05:43 PM
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: 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).


Reply With Quote
  #4  
Old September 27th, 2004, 02:35 PM
chiby chiby is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 chiby User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: ## OFFICIAL updates


Quote:
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).

URL


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.

Reply With Quote
  #5  
Old September 27th, 2004, 03:28 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
RE: 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


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

Reply With Quote
  #6  
Old September 27th, 2004, 11:10 PM
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: 3
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.. ;)

Reply With Quote
  #7  
Old July 11th, 2005, 07:33 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
RE: RE: ## OFFICIAL updates


Quote:
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)


Reply With Quote
  #8  
Old September 27th, 2005, 02:12 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
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 .= "&nbsp;($_GET[file_name])";
}
}
else
{
$breadcrumbs .= '<a href="'.ROOT_URL.'screen='.$value['screen'].'">'
.$value['screen_title'].'</a>&nbsp;<font size="1">></font>&nbsp;';
}
}
$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;
}
}
?>

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsCurrent Contest > ## OFFICIAL updates


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


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





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway