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:
  #1  
Old July 16th, 2005, 03:13 PM
ufosh ufosh is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: lublin, poland
Posts: 7 ufosh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
another contest idea

hello, anybody here?

i don't know if anyone is still interested in taking part in a codewalkers contest, but i've come up with an idea of another one. very simple, yet may be a challenge i guess

the basis for it is a game called... i don't know... "move a match"? the player has to move a match in a right place of an equation to make it true.

so here's how it may work:

player's script receives a mathematical equation.

2-8=8

converts it to a "match notation" somehow.

php Code:
Original - php Code
  1.  
  2. <?
  3.  _     _     _
  4.  _| _ |_| _ |_|
  5. |_    |_| - |_|
  6.  
  7. ?>


determines which match to move where, for example:

php Code:
Original - php Code
  1.  
  2. <?
  3.  _     _     _
  4.  _| + |_  _ |_|
  5. |_    |_| - |_|
  6.  
  7. ?>


and returns the solution 2+6=8.

that was easy, but what if we use really large numbers and order player to move not one, but several matches? add other operators (/, ^, maybe * somehow), brackets etc. it can get really complicated i think.

43223 + 412432 - 354534 + 345345 / 5 = - 124323 + 13543 - 34534 - 2 - 1

i hope it all is understandable, cause english is not my native language

so, is this idea any good?

Reply With Quote
  #2  
Old December 2nd, 2005, 12:49 PM
mendel mendel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 2 mendel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: another contest idea

I like the idea... And I hope there will be a new contest soon.

To make your idea more difficult, you could make an equation that requires you to move more than one match. And then you would only get points if your "match moves" are equal to the minimum moves to make the equation right. This would mean that you don't know beforehand how much matches you need to move.

Reply With Quote
  #3  
Old December 10th, 2005, 12:01 PM
-vertigo- -vertigo- is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Louth, Lincolnshire
Posts: 314 -vertigo- User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 m 24 sec
Reputation Power: 2
RE: another contest idea

One would have a lookup table of transformations of each digit/operator. There would be two phases. First, one would generate a list of feasible tranformations of the sum, given one may move X matches. Second, one would test each feasible transformation for validity.

Unfortunately the method is very simple/easy. It would come down to who could do validity testing the smartest/fastest.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsCurrent Contest > another contest idea


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
Stay green...Green IT