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:
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 June 23rd, 2002, 03:45 AM
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
display of moves

Quote:
Your script must have the ability to display all moves required to solve the puzzle


how should moves be displayed? should we display how “white space” moves – i.e. N/S/E/W (north, south, east, west), or should we display coordinates of “white space” after every move, or should we draw the a new puzzle for every move?

and (specially if last is the way to go) should we display ALL of the moves, for ALL of the puzzles in a single file or what?

Reply With Quote
  #2  
Old June 23rd, 2002, 08:47 AM
annuca annuca is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 annuca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: display of moves

I am doing the simplest text mode for speed, i.e. Game data, number of moves, and list of moves.

And then a hyperlink to display one solution in detail / HTML with tables etc.

All puzzles in detail/graphics is just too hard on the browser.

Reply With Quote
  #3  
Old June 23rd, 2002, 09:55 PM
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: display of moves

I've been thinking long and hard about this one (which I had thought about it before releasing the contest)...

I am going to modify the rules slightly on this one...and it will be very close to what annuca just said..

Your script must provide a summary sheet. On the summary sheet, you must display the input for each puzzle and if it was solvable or not. If it was solvable, you must display the number of moves it took. At the bottom of the summary sheet, show how many of the puzzles were solved. From each puzzle listing, there should be a link to show all moves required to solve the puzzle.

Sorry to make an update like this, but I feel it is necessary.




Reply With Quote
  #4  
Old June 24th, 2002, 05:11 AM
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: RE: display of moves

matt, u see that i should be in Contest Focus Group... questions i ask result in new rules!

(btw, i also thought of smth like annuca said, but i was too lazy to explain it in english...)

Reply With Quote
  #5  
Old June 24th, 2002, 10:52 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: display of moves

imho this screams 4 javascript...
will u allow it?

Reply With Quote
  #6  
Old June 24th, 2002, 11:56 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: display of moves

No javascript allowed. Sorry...

Reply With Quote
  #7  
Old June 24th, 2002, 12:27 PM
annuca annuca is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 annuca User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: display of moves

It would make a lot more sense to define a fixed output format that can easily be parsed by a computer.

Matt could then pipe the output thru to his own test script that will make sure all moves are allowed and calculate a total score.

Reply With Quote
  #8  
Old June 24th, 2002, 12:45 PM
makler makler is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 20 makler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: display of moves

Quote:
It would make a lot more sense to define a fixed output format

As an output I suggest using a line with letters:
U - move empty field up
D - move empty field down
L - move empty field left
R - move empty field right
E.g. UDRLRUD would mean:
up->down->right->left->right->up->down

Of course one can use other, nicer output methods.
And of course that is only a suggestion
for participants,
it is not the proposed rule unless otherwise stated by Matt.

Reply With Quote
  #9  
Old June 24th, 2002, 01:15 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: display of moves


Quote:
As an output I suggest using a line with letters:
U - move empty field up
D - move empty field down
L - move empty field left
R - move empty field right
E.g. UDRLRUD would mean:
up->down->right->left->right->up->down

Of course one can use other, nicer output methods.
And of course that is only a suggestion
for participants,
it is not the proposed rule unless otherwise stated by Matt.


i suggest use the number of tile, since only one tile should move in one step.
e.g. 5->9->1->7->5....

Reply With Quote
  #10  
Old June 24th, 2002, 01:39 PM
makler makler is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 20 makler User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: RE: RE: RE: display of moves

Quote:
i suggest use the number of tile, since only one tile should move in one step.
e.g. 5->9->1->7->5....

Well... it seems that there are no ideal solutions

My arguments for UDRL:

a) in my program in some situations
I just swap tiles, and the program even not know
what is the second, non empty tile.

b) in general there could be any numbers
and letters used in the puzzle, and there is
always only one empty tile. (I know,
I know ... here are only numbers used).

c) If I write UUDD - you know what it would mean,
but if I write 1231213 it is not clear.
Then UUDD notation is shorter and clearer, IMHO.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > display of moves


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 6 hosted by Hostway