Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 21 to 30 of 46

Thread: Witchess Puzzle Solver

  1. #21
    Senior Member
    Join Date
    Jan 2011
    Posts
    498

    Default

    SO WEIRD QUESTION. can this be at all modified to a relay script? So I can have a button on every puzzle so I can click "solve" on any given puzzle?

    Probably not, I imagine it's a lot of work turning this into a relay script.

    Even so, thank you for making this!

  2. #22
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,350

    Default

    I think it would be pretty easy for someone used to writing relay scripts, but that's not me.

  3. #23
    Developer
    Join Date
    Aug 2009
    Posts
    2,664

    Default

    I have a relay script that just rewrites the javascript / css on that page to make solving less work, but I still haven't given up on solving puzzles by hand.

  4. #24
    Developer Veracity's Avatar
    Join Date
    Mar 2006
    Location
    The Unseelie Court
    Posts
    11,078

    Default

    I've given up on solving the puzzles by hand, until I get to the "you automatically get the buff when you visit" stage, at which point I will work on the 5 (random) puzzles it gives me by hand, since it will not actually affect my game if I solve or do not solve them all.
    Ph'nglui mglw'nafh Cthulhu
    R'lyeh wgah-nagl fhtagn.

  5. #25
    Minion Bale's Avatar
    Join Date
    Jun 2008
    Posts
    13,263

    Default

    I have a relay script that just rewrites the javascript / css on that page to make solving less work, but I still haven't given up on solving puzzles by hand.
    Originally Posted by heeheehee View Post
    I am curious about this.
    If people like my scripts, please send me stuffed Hodgmen.
    Universal Recovery, OCD Inventory Control, CounterChecker, newLife, ChIT.


  6. #26
    Senior Member
    Join Date
    Dec 2013
    Posts
    388

    Default

    SO WEIRD QUESTION. can this be at all modified to a relay script? So I can have a button on every puzzle so I can click "solve" on any given puzzle?

    Probably not, I imagine it's a lot of work turning this into a relay script.

    Even so, thank you for making this!
    Originally Posted by Lxndr View Post
    It can and I did! I've submitted a pull request to the this version of the script, but if you want it before the pull request goes through, just run
    Code:
    svn checkout https://github.com/digitrev/WitchessSolver/trunk
    It adds a solve button which fills in the solution on the screen. Then just hit check solution. You'll have to go back to the first puzzle, since clicking through to the puzzle sends you to choice.php and not witchess.php, but going back will have it work without any problems.
    Last edited by digitrev; 03-23-2016 at 12:30 PM.

  7. #27
    Developer
    Join Date
    Aug 2009
    Posts
    2,664

    Default

    I am curious about this.
    Originally Posted by Bale View Post
    Heh. It was in part an experiment on the use of multi-line ASH (namely, whether it's actually a useful feature or not), so it's not shareable until/unless I commit that code (I can't see a strong reason not to, actually; just need to isolate it, which shouldn't be hard -- most commits don't affect the structure of ASH parsing). I literally replace the entire javascript block with a gigantic multi-line string.

    edit: see new thread that I just made
    Last edited by heeheehee; 03-23-2016 at 01:19 PM.

  8. #28
    Senior Member
    Join Date
    Jan 2011
    Posts
    498

    Default

    It can and I did! I've submitted a pull request to the this version of the script, but if you want it before the pull request goes through, just run
    Code:
    svn checkout https://github.com/digitrev/WitchessSolver/trunk
    It adds a solve button which fills in the solution on the screen. Then just hit check solution. You'll have to go back to the first puzzle, since clicking through to the puzzle sends you to choice.php and not witchess.php, but going back will have it work without any problems.
    Originally Posted by digitrev View Post
    THANK YOU. Unfortunately, I seem to be running into puzzles which don't have solutions in the map file (and only have image-solutions in the google doc). but it worked on the one thing that we did have a solution for. I appreciate it!

  9. #29
    Senior Member Crowther's Avatar
    Join Date
    Nov 2006
    Posts
    1,350

    Default

    THANK YOU. Unfortunately, I seem to be running into puzzles which don't have solutions in the map file (and only have image-solutions in the google doc). but it worked on the one thing that we did have a solution for. I appreciate it!
    Originally Posted by Lxndr View Post
    Feel free to enter "u d r l" solutions to the document for those puzzles. I've been pulling them from there, but I'm not going to type in dozens of those by hand! Also, I won't be able to glean any next week, so do it before Sunday if you want me to pull them out.

    EDIT: Or you can just post those here in the correct format. Saves me the trouble.

  10. #30
    Senior Member
    Join Date
    Jan 2011
    Posts
    498

    Default

    Code:
    113	R U U U U U U U U R D R D L D R D D L D D D R U U R R R D L L D R R R R U U L U L L U U R D R R U L U R U L L L D L U U R R R R
    That one worked for me today. Here's one that I have no access to but i'm reverse engineering from the picture:

    Code:
    119	u u r r r d l l d r r r r u r d r u u l l l u l l u l l u r r r d r r r d r u u l l l u l u l l l u u u r d u r d r d r r r u l l u r r
    I can do more of those if that would be helpful. but I can't test any of them, unless i run into them before Sunday.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •