Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 5

Author Topic: Dungeon Program  (Read 5021 times)

RoseHeart

  • Bay Watcher
  • 🛡️ Shiny Knight
    • View Profile
    • Forum Game Portfolio
Dungeon Program
« 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)
« Last Edit: January 27, 2017, 05:57:23 pm by roseheart »
Logged
Confidence doesn't come from success, it comes from surviving failure. —Dr. K.

RoseHeart

  • Bay Watcher
  • 🛡️ Shiny Knight
    • View Profile
    • Forum Game Portfolio
Re: Dungeon Program
« Reply #1 on: January 25, 2017, 02:42:23 am »

TRIAL 1
Get the skeleton to the exit.

# # # # # # #
# S _ _ _ # #
# _ _ _ _ _ #
# _ _ _ _ _ #
# _ _ _ _ _ #
# # _ _ _ X #
# # # # # # #
Logged
Confidence doesn't come from success, it comes from surviving failure. —Dr. K.

Demonic Spoon

  • Bay Watcher
  • Peering from beyond the veil of reality
    • View Profile
Re: Dungeon Program
« Reply #2 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.
Logged

RoseHeart

  • Bay Watcher
  • 🛡️ Shiny Knight
    • View Profile
    • Forum Game Portfolio
Re: Dungeon Program
« Reply #3 on: January 25, 2017, 03:01:51 am »

Your skeleton does nothing.
Logged
Confidence doesn't come from success, it comes from surviving failure. —Dr. K.

TankKit

  • Bay Watcher
  • Probably writing something.
    • View Profile
Re: Dungeon Program
« Reply #4 on: January 25, 2017, 03:12:51 am »

Skeleton: Walk to exit.
Logged
“I would stop you from doing unholy experiments with my people, but I don’t actually care about their well-being and I kinda want to see what happens”

Spoken like a true god TankKit.

RAM

  • Bay Watcher
    • View Profile
Re: Dungeon Program
« Reply #5 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.
« Last Edit: January 25, 2017, 03:37:29 pm by RAM »
Logged
Vote (1) for the Urist scale!
I shall be eternally happy. I shall be able to construct elf hunting giant mecha. Which can pour magma.
Urist has been forced to use a friend as fertilizer lately.
Read the First Post!

Kashyyk

  • Bay Watcher
  • One letter short of a wookie
    • View Profile
Re: Dungeon Program
« Reply #6 on: January 25, 2017, 07:13:06 am »

While self.Location not equal to Exit.Location { 
   Move(South)
   Move(East)
}
Logged

Asgarus

  • Bay Watcher
    • View Profile
Re: Dungeon Program
« Reply #7 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".
Logged

Puppyguard

  • Bay Watcher
  • An avatar? What's that?
    • View Profile
Re: Dungeon Program
« Reply #8 on: January 25, 2017, 04:21:28 pm »

If command_heard("gotoExit"){
Move_towards_location("Exit")
}

>"gotoExit"
Logged

RoseHeart

  • Bay Watcher
  • 🛡️ Shiny Knight
    • View Profile
    • Forum Game Portfolio
Re: Dungeon Program
« Reply #9 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.
Logged
Confidence doesn't come from success, it comes from surviving failure. —Dr. K.

OceanSoul

  • Bay Watcher
  • Cursed with Exponential Hiatuses
    • View Profile
Re: Dungeon Program
« Reply #10 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)
Logged
Work on a potential forum game for my return to Bay12. Figure out parts that puzzled me before. Find more things to figure out that I can't. Work on another game instead of solving them. Get distracted and stop working. Remember it a week or two later. Remember I'm still on hiatus. Illogically, Be too ashamed to return yet. Repeat ad nauseam.

Finally have a game completely ready. Wait a week before posting it out of laziness.

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Dungeon Program
« Reply #11 on: January 25, 2017, 07:28:20 pm »

PTW
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.

RAM

  • Bay Watcher
    • View Profile
Re: Dungeon Program
« Reply #12 on: January 25, 2017, 08:57:20 pm »

Logged
Vote (1) for the Urist scale!
I shall be eternally happy. I shall be able to construct elf hunting giant mecha. Which can pour magma.
Urist has been forced to use a friend as fertilizer lately.
Read the First Post!

RoseHeart

  • Bay Watcher
  • 🛡️ Shiny Knight
    • View Profile
    • Forum Game Portfolio
Re: Dungeon Program
« Reply #13 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 #
# # # # # # #
Logged
Confidence doesn't come from success, it comes from surviving failure. —Dr. K.

RAM

  • Bay Watcher
    • View Profile
Re: Dungeon Program
« Reply #14 on: January 26, 2017, 12:39:51 am »

Skeleton: Walk to trap, equip spike, walk to exit.
Logged
Vote (1) for the Urist scale!
I shall be eternally happy. I shall be able to construct elf hunting giant mecha. Which can pour magma.
Urist has been forced to use a friend as fertilizer lately.
Read the First Post!
Pages: [1] 2 3 ... 5