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:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old March 5th, 2003, 03:41 AM
Matt Matt is offline
Moderator
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 10 m 20 sec
Reputation Power: 6
[Down-n-Out] New Contest

New contest ready for everyone! Enjoy.

BTW, I am exhausted, so if there are any mistakes or errors in the contest description please let me know ASAP so I can correct. Thanks!

Also, notice that I am prefixing the forum messages with the contest name. Please follow my lead on this one...thanks!

Reply With Quote
  #2  
Old March 5th, 2003, 04:09 AM
Matt Matt is offline
Moderator
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 10 m 20 sec
Reputation Power: 6
RE: [Down-n-Out] New Contest

Here is something to give you some basic test inputs...I'm sure others will post some as well...

php Code:
Original - php Code
  1. <?php
  2. echo "{$_GET['rows']}n{$_GET['cols']}n{$_GET['tiles']}n";
  3. $layout = array();
  4. $total = $_GET['rows'] * $_GET['cols'];
  5. for($i = 1; $i <= $total; $i++) {
  6.     $layout[$i] = ($i % $_GET['tiles']) + 1;
  7. }
  8. srand ((float)microtime()*1000000);
  9. shuffle ($layout);
  10. foreach($layout as $tile) {
  11.     echo $tile;
  12. }
  13. ?>


Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > [Down-n-Out] New 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


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





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