Announcement: Be excellent to each other.


Caravel Forum : Caravel Boards : Development : A brute-force solution to the Eight Gates of Bill
New Topic New Poll Post Reply
Poster Message
Blooloo
Level: Goblin
Avatar
Rank Points: 23
Registered: 10-27-2007
IP: Logged
icon A brute-force solution to the Eight Gates of Bill (+6)  
I'll preface this post by saying that I don't know why I did this.

I've written a small C program that spits out N-orb solutions to the Eight Gates of Bill. It spits out tons of duplicates because I'm the laziest being to ever walk the earth (lazy enough to write a program to solve this room instead of doing it myself the umpteenth time or memorizing a solution for a playthrough), but you can just pipe the output through
sort | uniq
.

Here is is, secreted, beyond obvious reasons, because it's large. Variable names are strange in places so that single-letter array subscripts wouldn't get picked up as BBCode tags.
Click here to view the secret text


If you run it and filter it some, it's really interesting, especially when you redefine SUBSET. For instance, this has found, by brute force, that:
Click here to view the secret text


Have fun, and enjoy responsibly! :wizard

____________________________
Dictum summal.
07-02-2016 at 07:34 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Banjooie
Level: Smitemaster
Avatar
Rank Points: 1613
Registered: 12-12-2004
IP: Logged
icon Re: A brute-force solution to the Eight Gates of Bill (0)  
So this is some kind of...auto-solving program...for DROD....
07-19-2016 at 01:22 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
Grizzly
Level: Delver
Rank Points: 35
Registered: 04-23-2007
IP: Logged
icon Re: A brute-force solution to the Eight Gates of Bill (+4)  
I once wrote a door riddle solver in SWI-Prolog. I only tried it on the eight gates of Bill and some riddles in Witherwood Castle but it worked for these.

Click here to view the secret text


Getting solutions is done by consulting the file in SWI-Prolog and then entering
solvePuzzle(S).
More answers arrive by pressing ; (semicolon).
07-30-2016 at 02:22 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : Caravel Boards : Development : A brute-force solution to the Eight Gates of Bill
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.