Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Contests : Snakes!... to the Death (Once more unto the breach)
Page 1 of 2
2
New Topic New Poll Post Reply
Poster Message
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1125
Registered: 06-14-2005
IP: Logged

File: Snake Puzzle.png (62.7 KB)
Downloaded 1085 times.
License: Public Domain
icon Snakes!... to the Death (+6)  
Who's up for another round of Snakes!... to the Death?

For those who don't know, Erik came up with it in 2006. His original post is here. It's got all the details for how it works, but I'll distill it for here.

Each turn, each snake moves once. Snakes always move straight forward, if they can. If not, that's where you come in. You'll have a queue of moves, each either 'B'ump or 'J'ump. When a snake runs into a wall, if the next command is bump, it'll try to move clockwise, then counterclockwise. If both of these are blocked it will try to jump.

If it tries to jump, it'll first try forward, jumping over any number of boxes, snakes, and/or dead snake heads. Walls and living snake heads cannot be jumped. If jumping forward is not an option, it'll try to jump clockwise, then counterclockwise, then backward.

If there are no moves entered in a player's queue, snakes will default to bumping. If a snake cannot move in any way, it dies. Snakes grow as they move, so your tail will never enter the pit.

Because this is rather complicated, I'd like to once again ask that any player who has not previously participated in a Snakes!... game solve the following puzzle by PMing me a sequence of moves which will cause the snake to enter every square.


If you've played before, posting here will be sufficient to join. Otherwise, a post and a PM. In one week's time, assuming we have a sufficient number of players, I'll post a snake pit and we'll go from there. Players will be randomly assigned entry points into the pit and the game will begin!

[Last edited by Someone Else at 08-17-2014 03:20 AM]
08-17-2014 at 03:04 AM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Chaco
Level: Smitemaster
Rank Points: 3182
Registered: 10-06-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
I'll play again!

____________________________
Quick links to my stuff (in case you forgot where it was):
Click here to view the secret text

08-17-2014 at 03:08 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
jamesdenem
Level: Master Delver
Rank Points: 203
Registered: 07-03-2006
IP: Logged
icon Re: Snakes!... to the Death (0)  
Well, I guess I could give this another go from the last time I participated in one of these.

____________________________
This signature intenionally left blank. Disregard any text you may find here, because it is probably just your imagination, and not a signature in any way. We mean it, don't believe that there is text here.
08-17-2014 at 05:01 AM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
Tuttle
Level: Smitemaster
Avatar
Rank Points: 1473
Registered: 02-22-2003
IP: Logged
icon Re: Snakes!... to the Death (0)  
I'm in again.
08-17-2014 at 05:25 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1366
Registered: 02-05-2003
IP: Logged
icon Re: Snakes!... to the Death (0)  
Woah, it's really been 8 years? I think I'd better resolve the puzzle myself, but I'm in.
08-17-2014 at 10:49 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Timo006
Level: Smitemaster
Avatar
Rank Points: 518
Registered: 07-19-2006
IP: Logged
icon Re: Snakes!... to the Death (0)  
I'll also play again. :)

____________________________
Drod Number: 3034; 8th person to see the Second Sky

Proud winner of the "Graphics Design Excellence in a Modification" Award in the 7th APC Awards.
08-17-2014 at 08:15 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Pinnacle
Level: Smitemaster
Avatar
Rank Points: 1077
Registered: 06-10-2004
IP: Logged
icon Re: Snakes!... to the Death (0)  
I'll play again. Hopefully I'll do better than last time.

____________________________
Once (adv.): Enough.
Twice (adv.): Once too often.
~Ambrose Bierce, The Devil's Dictionary
08-17-2014 at 08:16 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Bombadil
Level: Smiter
Avatar
Rank Points: 493
Registered: 06-01-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
I would like to join, but I'll have to solve that puzzle first... :)

In the original snake puzzle post, Erik mentions a Java applet coded by TripleM. Is that still available somewhere? (It was hosted in geocities...) It would be the perfect way to get used to the puzzle rules before the contest...

[Last edited by Bombadil at 08-18-2014 06:15 AM]
08-18-2014 at 06:15 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1366
Registered: 02-05-2003
IP: Logged
icon Re: Snakes!... to the Death (0)  
I've changed computers a few times since then, so not easily. Probably wouldn't be too hard to remake..

Challenge: build it with DROD scripting ;)
08-18-2014 at 06:59 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Bombadil
Level: Smiter
Avatar
Rank Points: 493
Registered: 06-01-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
Don't worry. It was just in case it was also somewhere else on the internet.
If I have time, I will try to code it myself. :D

Thanks anyway!
08-18-2014 at 10:29 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 2437
Registered: 12-28-2004
IP: Logged
icon Re: Snakes!... to the Death (0)  
If I write a solver for this initial puzzle, can I still claim I have solved it? :P

____________________________
My website | Facebook | Twitter
08-18-2014 at 01:49 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
RabidChild
Level: Smitemaster
Avatar
Rank Points: 621
Registered: 01-15-2006
IP: Logged
icon Re: Snakes!... to the Death (0)  
Wow, eight years. According to The Complete List of Contest Participants, this was the last contest I participated in.

Sure, I'm in again.
08-18-2014 at 10:40 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1125
Registered: 06-14-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
Heh, sure, skell. It's more about showing you have at least a cursory understanding of the rules than actually solving it.
08-18-2014 at 10:57 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Chaco
Level: Smitemaster
Rank Points: 3182
Registered: 10-06-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
quote:
Someone Else wrote:
Heh, sure, skell. It's more about showing you have at least a cursory understanding of the rules than actually solving it.


I'm kind of hoping Banjooie signs up and just creates a random string of bumps and jumps for his snake to follow.

Then again, I don't want to unfairly pigeonhole him to just one joke.

____________________________
Quick links to my stuff (in case you forgot where it was):
Click here to view the secret text

08-19-2014 at 01:02 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
Bombadil
Level: Smiter
Avatar
Rank Points: 493
Registered: 06-01-2005
IP: Logged
icon Re: Snakes!... to the Death (+4)  
So I coded the puzzle in PuzzleScript* in definitely not the most efficient way, but I think the rules are correctly implemented. You can find it here:

http://www.puzzlescript.net/play.html?p=3176206a4a69755e6be3

Keys:
- Left (Bump) and Right (Jump) keys to change between the two snake behaviours (and make the next move).
- Up and Down keys, X or C will make the next move (without changing behaviour).
- Z will undo the previous move.
- R will reset the puzzle.

The code can be found here:
http://www.puzzlescript.net/editor.html?hack=3176206a4a69755e6be3
for anyone who wants to tweak stuff/improve it or change the level. Note that the jumping is not fully implemented, since as it is it makes the snake also jump over walls... For the particular puzzle at hand, however, it does not make any difference because all of the walls are on the borders.

Please tell me if you find any bugs!

* that has a gallery of small games, some of them pretty interesting

[Last edited by Bombadil at 08-19-2014 06:21 AM]
08-19-2014 at 06:21 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1366
Registered: 02-05-2003
IP: Logged

File: Snakes to the Death.hold (1.9 KB)
Downloaded 10 times.
License: Public Domain
icon Re: Snakes!... to the Death (+3)  
And I self-accepted my own challenge so that I could look at scripting for the first time ever.

Special command to jump; anything else (eg wait) to move/bump.
08-19-2014 at 07:59 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Bombadil
Level: Smiter
Avatar
Rank Points: 493
Registered: 06-01-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  

I am in!
08-20-2014 at 12:12 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
skell
Level: Legendary Smitemaster
Avatar
Rank Points: 2437
Registered: 12-28-2004
IP: Logged
icon Re: Snakes!... to the Death (0)  
I have solved it with TripleM's hold in like one minute. As a respected member of the community you should totally trust my word without any proof, totally :P.

Totally!

____________________________
My website | Facebook | Twitter
08-20-2014 at 03:52 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts High Scores This architect's holds Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1366
Registered: 02-05-2003
IP: Logged
icon Re: Snakes!... to the Death (+1)  
I'm going to send a 'Bump' command right now.
08-29-2014 at 02:34 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1125
Registered: 06-14-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
Sorry, I was away for a week. The list of Snakes! is as follows:
jamesdenem
Chaco
skell
Someone Else
Timo006
RabidChild
Pinnacle
TripleM
Bombadil
Tuttle

That makes 10! And I've taken the liberty of building a 10-snake pit:
Click here to view the secret text

I randomized the list above, and that will also determine our starting positions, clockwise from the top left. If you'd like to trade positions (for any reason) or you have concerns about the pit, say something in this thread. When would it work to start this?

[Last edited by Someone Else at 08-30-2014 02:07 PM]
08-30-2014 at 02:07 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Bombadil
Level: Smiter
Avatar
Rank Points: 493
Registered: 06-01-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  

How long does this usually run for?

I have a 30h+ trip this weekend during which I probably won't have access to the Internet.

Anyway, since we can input moves in advance, I guess it is fine if we have already started anyway. So my vote is for as soon as it makes sense.
09-01-2014 at 01:47 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Chaco
Level: Smitemaster
Rank Points: 3182
Registered: 10-06-2005
IP: Logged
icon Re: Snakes!... to the Death (0)  
The # are jumpable tiles, and the ^ are uncrossable walls, right? If so, I have no objections to this snakepit; looks like there's enough room and maneuvering space so that people can jockey for position for quite a while before any snakes start dying.

____________________________
Quick links to my stuff (in case you forgot where it was):
Click here to view the secret text

09-01-2014 at 02:25 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
jamesdenem
Level: Master Delver
Rank Points: 203
Registered: 07-03-2006
IP: Logged
icon Re: Snakes!... to the Death (0)  
I'm up for starting whenever is good for everyone else. Though hopefully we will have a nicer looking battlefield to work in...

____________________________
This signature intenionally left blank. Disregard any text you may find here, because it is probably just your imagination, and not a signature in any way. We mean it, don't believe that there is text here.
09-05-2014 at 12:40 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
RyTracer
Level: Delver
Avatar
Rank Points: 86
Registered: 11-01-2013
IP: Logged
icon Re: Snakes!... to the Death (0)  
It looks like you guys haven't started yet, unless the posts are elsewhere now. I just submitted a solution to see if I can sneak in.

____________________________
I dream in vectors.
Portfolio Website - RyTracer.com
Click here to view the secret text

09-10-2014 at 04:28 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1125
Registered: 06-14-2005
IP: Logged
icon Re: Snakes!... to the Death (+1)  
Sorry I've been slow in getting this started. Schik, could you put up the new snakepit I made (it's just slightly modified from the previous, with about the same number of tiles per player):
Click here to view the secret text

With the snake in this order (starting from the top left, clockwise):
jamesdenem
Chaco
skell
Someone Else
Timo006
RabidChild
RyTracer
Pinnacle
TripleM
Bombadil
Tuttle

If you do, I can start the game. Thanks in advance!

[Last edited by skell at 09-11-2014 07:59 PM : Added code tags]
09-11-2014 at 02:42 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5105
Registered: 02-04-2003
IP: Logged
icon Re: Snakes!... to the Death (+1)  
I didn't see how it picks who is where, but I did reset to that map and those players.


____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
09-12-2014 at 02:55 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
RyTracer
Level: Delver
Avatar
Rank Points: 86
Registered: 11-01-2013
IP: Logged
icon Re: Snakes!... to the Death (0)  
Will we be using the nice pretty php snake pit from before? and when will that go live?

____________________________
I dream in vectors.
Portfolio Website - RyTracer.com
Click here to view the secret text

09-13-2014 at 12:42 AM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Someone Else
Level: Smitemaster
Avatar
Rank Points: 1125
Registered: 06-14-2005
IP: Logged
icon Re: Snakes!... to the Death (+1)  
I can start this whenever. If I receive no objections, I think it'll be ~24 hours from this post. Sound good? It should be using the same page:
http://forum.caravelgames.com/snakes.php

It doesn't seem to have changed... I'm going to test it now and reset it to actually start then. Hm. Can't see any changes. Can anyone else confirm whether a game has started?

[Last edited by Someone Else at 09-13-2014 09:46 PM]
09-13-2014 at 09:44 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
TripleM
Level: Smitemaster
Rank Points: 1366
Registered: 02-05-2003
IP: Logged
icon Re: Snakes!... to the Death (0)  
Not seeing the new game at all.
09-13-2014 at 10:45 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Schik
Level: Legendary Smitemaster
Avatar
Rank Points: 5105
Registered: 02-04-2003
IP: Logged
icon Re: Snakes!... to the Death (+2)  
Fixed some problems. Some of them made sense, others I'm not sure how this ever worked. It's started, but you should be able to restart it once people are ready to go.

____________________________
The greatness of a nation and its moral progress can be judged by the way it treats its animals.
--Mahatma Gandhi
09-14-2014 at 05:02 AM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores Quote Reply
Page 1 of 2
2
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Contests : Snakes!... to the Death (Once more unto the breach)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.