Bay 12 Games Forum

Finally... => Forum Games and Roleplaying => Topic started by: RoseHeart on January 25, 2017, 02:41:34 am

Title: Dungeon Program
Post by: RoseHeart on January 25, 2017, 02:41:34 am
Being a necromancer is a lot like being a programmer. You can't spend too much though on what your summons do each moment, or their help is more limited.

Well wannabe Necromancer, the Dungeon Program Challenge is here for you.

(Suggestion Game)

Please use a description in layman's terms, no actual code. This skeleton is running on English++
(assume it doesn't have your 'birdseye' view, either)
Title: Re: Dungeon Program
Post by: RoseHeart on January 25, 2017, 02:42:23 am
TRIAL 1
Get the skeleton to the exit.

# # # # # # #
# S _ _ _ # #
# _ _ _ _ _ #
# _ _ _ _ _ #
# _ _ _ _ _ #
# # _ _ _ X #
# # # # # # #
Title: Re: Dungeon Program
Post by: Demonic Spoon on January 25, 2017, 02:51:29 am
Skeleton:
Walk south until reach wall, walk east until reach wall. Walk south into exit.
OR
Walk Southeast to exit.
Title: Re: Dungeon Program
Post by: RoseHeart on January 25, 2017, 03:01:51 am
Your skeleton does nothing.
Title: Re: Dungeon Program
Post by: TankKit on January 25, 2017, 03:12:51 am
Skeleton: Walk to exit.
Title: Re: Dungeon Program
Post by: RAM on January 25, 2017, 03:14:04 am
Review input senses and output abilities of skeletons.

Walk until wall.
Repeat until creature
  Repeat until not-wall
    Turn left.
  .
  Repeat until wall
    Step forward.
    If exit, exit.
    Turn right.
  .
.
If enemy and NOT Creator then grab.
If Great-and-perfect-creator then hug.
While enemy and NOT Creator bite.
While Great-and-perfect-creator and NOT dismissed nuzzle.
Await further orders.
Title: Re: Dungeon Program
Post by: Kashyyk on January 25, 2017, 07:13:06 am
While self.Location not equal to Exit.Location { 
   Move(South)
   Move(East)
}
Title: Re: Dungeon Program
Post by: Asgarus on January 25, 2017, 08:44:46 am
Define "walk" as "setting one foot in front of the other repeatedly".
Define "stop" as "stopping any movement".

Turn south and begin to "walk".
Once a wall is on front of us, turn east and continue to "walk".
Once a wall is on front of us, turn south and continue to "walk".
Once a wall is on front of us, "stop".
Title: Re: Dungeon Program
Post by: Puppyguard on January 25, 2017, 04:21:28 pm
If command_heard("gotoExit"){
Move_towards_location("Exit")
}

>"gotoExit"
Title: Re: Dungeon Program
Post by: RoseHeart on January 25, 2017, 05:50:17 pm
WOAH and I thought this was gunna be burried past page 3, imagine my surprise 8 replies and on page 1...

Alright remember to +1 a quote to vote for it.
Title: Re: Dungeon Program
Post by: OceanSoul on January 25, 2017, 06:38:13 pm
Technically, this would work best overall:
Maze Escape Routine, V. 1
Routine BEGIN
[Prepare]
Face South.
[Start]
If no wall is to your right, turn right, then take a step forward then goto {Start}.
If no wall is immediately in front of you, step forward, and goto {Start}.
If not at Exit, turn left, step forward, and goto {Start}.
Celebrate, then End Routine.

(Note- may not work if all walls aren't continuous with one another, or if in following situation-
O is floor, Z is Zombie
OO
OZ)
Title: Re: Dungeon Program
Post by: crazyabe on January 25, 2017, 07:28:20 pm
PTW
Title: Re: Dungeon Program
Post by: RAM on January 25, 2017, 08:57:20 pm
Skeleton: Walk to exit.
+1
Title: Re: Dungeon Program
Post by: RoseHeart on January 26, 2017, 12:01:05 am
Skeleton: Walk to exit.
+1

# # # # # # #
# * _ _ _ # #
# _ * _ _ _ #
# _ _ * _ _ #
# _ _ _ * _ #
# # _ _ _ S #
# # # # # # #


TRIAL 1 COMPLETE

TRIAL 2 SPIKE TRAPS
Spike traps begin pointing up. Walking onto them will mangle your skeleton failing the challenge.

They go down every other step, wait, action, ect.

# # # # # # #
# S _ _ _ # #
# _ _ _ _ _ #
# _ _ # _ _ #
# _ _ _ _ ^ #
# # _ _ ^ X #
# # # # # # #
Title: Re: Dungeon Program
Post by: RAM on January 26, 2017, 12:39:51 am
Skeleton: Walk to trap, equip spike, walk to exit.
Title: Re: Dungeon Program
Post by: Demonic Spoon on January 26, 2017, 12:50:59 am
Skeleton:
Walk around trap to exit.
Title: Re: Dungeon Program
Post by: Puppyguard on January 26, 2017, 02:07:04 am
Skeleton: Walk to trap, equip spike, walk to exit.
+1
Title: Re: Dungeon Program
Post by: RoseHeart on January 26, 2017, 02:18:44 am
(spikes are repetatively protruding from the ground, and not an item)
Title: Re: Dungeon Program
Post by: TankKit on January 26, 2017, 02:56:24 am
Skeleton: Walk around trap to exit.
Title: Re: Dungeon Program
Post by: OceanSoul on January 26, 2017, 04:35:41 am
Skeleton: Walk four steps (tiles) southeast toward exit as in, alternating between moving south and east when necessary. Then, when spikes are going down, quickly take one last step southeast onto exit.

Would it be possible for us to suggest 'puzzles' of our own?
Title: Re: Dungeon Program
Post by: Asgarus on January 26, 2017, 05:40:58 am
Skeleton: Walk to trap, equip spike, walk to exit.
+1
++ WRONG QUOTE, IGNORE
Title: Re: Dungeon Program
Post by: TankKit on January 26, 2017, 06:01:37 am
Skeleton: Walk to trap, equip spike, walk to exit.
+1
++
Skeleton: Walk around trap to exit.
Is everyone seriously ignoring this?
Oops, wrong thing!
(spikes are repetatively protruding from the ground, and not an item)
Title: Re: Dungeon Program
Post by: Asgarus on January 26, 2017, 12:33:07 pm
Skeleton: Walk to trap, equip spike, walk to exit.
+1
++
Skeleton: Walk around trap to exit.
Is everyone seriously ignoring this?
Oops, wrong thing!
(spikes are repetatively protruding from the ground, and not an item)

Actually I didn't ignore it but quoted the wrong post. (I thought I had quoted the "Skeleton: Walk around trap to exit." one)
So:
Skeleton:
Walk around trap to exit.
++
Title: Re: Dungeon Program
Post by: RoseHeart on January 27, 2017, 03:41:33 am
Skeleton:
Walk around trap to exit.

Your skeleton does nothing.
Title: Re: Dungeon Program
Post by: somemildmanneredidiot on January 27, 2017, 09:02:46 am
Move South until Exit is Sighted, then Move to Exit while avoiding Spikes.
Title: Re: Dungeon Program
Post by: OceanSoul on January 27, 2017, 11:35:10 am
CurrentLocation=(1,-1) : ExitLocation=(5,-5)
Move to (4,-4) while avoiding moving to (3,-3).
When SpikeTraps=retracting, quickly move to Exit with diagonal movement.
Title: Re: Dungeon Program
Post by: Asgarus on January 27, 2017, 11:56:30 am
Scream "GERONIMO!" and run to the exit, jumping over the traps.
Title: Re: Dungeon Program
Post by: RAM on January 27, 2017, 03:30:28 pm
CurrentLocation=(1,-1) : ExitLocation=(5,-5)
Move to (4,-4) while avoiding moving to (3,-3).
When SpikeTraps=retracting, quickly move to Exit with diagonal movement.
+1
Title: Re: Dungeon Program
Post by: TheBiggerFish on January 27, 2017, 04:01:28 pm
Move SE 1
Move S 1
Move SE 1
Move E 1
Move SE 1
Title: Re: Dungeon Program
Post by: RoseHeart on January 27, 2017, 05:41:36 pm
CurrentLocation=(1,-1) : ExitLocation=(5,-5)
Move to (4,-4) while avoiding moving to (3,-3).
When SpikeTraps=retracting, quickly move to Exit with diagonal movement.
+1

Sorry no bonus points for actual code language. Or worded differently...

huh?
Title: Re: Dungeon Program
Post by: Puppyguard on January 27, 2017, 05:52:46 pm
Scream "GERONIMO!" and run to the exit, jumping over the traps.
+1
Title: Re: Dungeon Program
Post by: OceanSoul on January 27, 2017, 05:56:37 pm
Huh what? Was it the fact that I gave two sets of directions for this challenge? I just preferred coding-based directions, so I changed it. Also, you had put a turn for a response that didn't work, so I thought a revised set of directions might get a +1 and get used.

Edit: 'sprays ninja repellent'
Scream "GERONIMO!" and run to the exit, jumping over the traps.
+1
-1, partially because skeletons can't scream. Also, I expect the spikes would jab upward pretty high, so you couldn't leap over it. Timing is key.
Title: Re: Dungeon Program
Post by: Gwolfski on January 27, 2017, 06:06:10 pm
Skeleton, work diagonaly across the room until you spot the spikes. Wait for tchem to retract and then run through them to the exit.
Title: Re: Dungeon Program
Post by: RoseHeart on January 27, 2017, 07:45:11 pm
Also, I expect the spikes would jab upward pretty high, so you couldn't leap over it. Timing is key.
Correct.
Title: Re: Dungeon Program
Post by: RAM on January 27, 2017, 07:58:22 pm
Move South until Exit is Sighted, then Move to Exit while avoiding Spikes.
+1

At this point we are learning what works and what doesn't. I +1ed OceanSoul's because I wanted to see if defining points of reference could work. I am still not quite certain if it can...
Title: Re: Dungeon Program
Post by: RoseHeart on January 27, 2017, 10:26:32 pm
Move South until Exit is Sighted, then Move to Exit while avoiding Spikes.

# # # # # # #
# * _ _ _ # #
# * _ _ _ _ #
# * _ # _ _ #
# _ * * _ ^ #
# # _ _ * S #
# # # # # # #


TRIAL 2 COMPLETE

TRIAL 3 BATTLE
A rival necromancer has been instructed to defeat you in a skeleton duel. Outlast theirs to win.

# # # # # # #
# S _ _ _ # #
# _ _ ^ _ _ #
# _ ^ _ ^ _ #
# _ _ ^ _ _ #
# # _ _ _ s #
# # # # # # #


Title: Re: Dungeon Program
Post by: crazyabe on January 27, 2017, 11:09:49 pm
Move South West one Tile, grab and Throw All undead hostiles West, South west, or South Dependent on Original location.
Title: Re: Dungeon Program
Post by: RoseHeart on January 27, 2017, 11:39:49 pm
S is your skeleton. SW is a #, a wall.
Title: Re: Dungeon Program
Post by: fourtytwo on January 27, 2017, 11:50:13 pm
Dance in place, surely that will fool them!!!
Title: Re: Dungeon Program
Post by: Puppyguard on January 27, 2017, 11:52:35 pm
Move South EAST one Tile, grab and Throw All undead hostiles EAST, South EAST, or South Dependent on Original location.
+1
Title: Re: Dungeon Program
Post by: crazyabe on January 27, 2017, 11:53:20 pm
Move South EAST one Tile, grab and Throw All hostiles EAST, South EAST, or South Dependent on Original location of hostile.
Title: Re: Dungeon Program
Post by: RoseHeart on January 28, 2017, 02:13:22 am
Throwing wont work.

The skeletons are evenly matched and that would end in stalemate.
Title: Re: Dungeon Program
Post by: OceanSoul on January 28, 2017, 02:28:11 am
Try standing one tile south of our start. The opponent's programming simply could have been to approach us diagonally, or the like, which we may be able to turn around on them. Similarly, turning the other skeleton ~45 degrees might offset their path finding enough to make them walk onto spikes.
Title: Re: Dungeon Program
Post by: RAM on January 28, 2017, 03:36:01 am
Hide behind the nearest two traps then wait until another skeleton gets close enough to jump into.
Then jump into the other skeleton, hold its hands away from yourself, and bite it a lot.


It is okay if we jump onto the spikes with the other skeleton so long as we are on top, because the spikes will kill the other one a moment before ours so we still technically win.
Otherwise, we win through unconventional fighting methods because the other one is going to be following conventional combat methodology because our counterpart is more boring than one of our genius could possibly be.
Title: Re: Dungeon Program
Post by: TankKit on January 28, 2017, 04:06:22 am
Skeleton: Kite other skeleton into a trap.
Title: Re: Dungeon Program
Post by: Kashyyk on January 28, 2017, 04:50:14 am
Skeleton:
Mirror all moves made by opponent, except those that involve moving onto a "primed to strike" trap.
Title: Re: Dungeon Program
Post by: HugeNerdAndProudOfIt on January 29, 2017, 01:10:23 pm
Skeleton:
Mirror all moves made by opponent, except those that involve moving onto a "primed to strike" trap.
+1
Title: Re: Dungeon Program
Post by: RoseHeart on January 29, 2017, 04:31:50 pm
Nope.
Title: Re: Dungeon Program
Post by: OceanSoul on January 29, 2017, 04:57:29 pm
Avoid standing on or in front of spike traps, while trying to touch and attack the other's legs as to knock it down. Then, roll it onto a pile trap, or crush it's head in. Whatever's easier.

If this strategy doesn't work, I suggest detaching the left arm and swinging it at the other skeleton/zombie. It should still work when disconnected, right?
Title: Re: Dungeon Program
Post by: TheBiggerFish on January 29, 2017, 06:53:15 pm
What, we have to anticipate their instructions, or what?
Title: Re: Dungeon Program
Post by: Gwolfski on January 30, 2017, 06:51:16 am
Skeleton move along wall
If
.   enemy sighted
Then
.   attack
.   goto 1
Else
.   goto 0
Title: Re: Dungeon Program
Post by: RoseHeart on February 02, 2017, 12:59:46 am
What, we have to anticipate their instructions, or what?

You must be the last skeleton standing. (moving onto spikes = out)
Title: Re: Dungeon Program
Post by: TheBiggerFish on February 02, 2017, 01:35:51 am
...You didn't answer my question at all.
Title: Re: Dungeon Program
Post by: RAM on February 02, 2017, 02:30:19 am
Move forward until next to trap.
Attempt to scream "You shall not pass".
Pretend to be a wall.
Title: Re: Dungeon Program
Post by: OceanSoul on February 02, 2017, 05:39:15 am
Call/name our skeleton Exit, confusing the other Skeleton into using the 'move to exit' programming that he had a test for. Shove the other Skeleton if it tries to get too close.
Title: Re: Dungeon Program
Post by: Puppyguard on February 02, 2017, 03:02:39 pm
Skeleton:
Try to trip the other skeleton near the traps.
Title: Re: Dungeon Program
Post by: RAM on February 02, 2017, 03:39:17 pm
Call/name our skeleton Exit, confusing the other Skeleton into using the 'move to exit' programming that he had a test for. Shove the other Skeleton if it tries to get too close.
A good plan, but there is no exit in this puzzle : (
Title: Re: Dungeon Program
Post by: OceanSoul on February 02, 2017, 03:53:02 pm
Call/name our skeleton Exit, confusing the other Skeleton into using the 'move to exit' programming that he had a test for. Shove the other Skeleton if it tries to get too close.
A good plan, but there is no exit in this puzzle : (
The other Necromancer had to go through the previous challenges too, right? If so, the programming remaining in the skeleton from it should still be in it.
Title: Re: Dungeon Program
Post by: Crownariam on February 07, 2017, 08:32:56 pm
Ptw
Title: Re: Dungeon Program
Post by: RoseHeart on February 07, 2017, 10:28:00 pm
Wai hello, please do check out my game :3

(need a majority to continue this)
Title: Re: Dungeon Program
Post by: RAM on February 07, 2017, 10:58:40 pm
Skeleton:
Try to trip the other skeleton near the traps.
+1