Giter Site home page Giter Site logo

neopets-shapeshifter's Introduction

neopets-shapeshifter

Resources for solving Neopets' shapeshifter puzzles

(special thanks to divvy for replying to my email about kvho -I'm hosting
it here without permission just in case its lost to time)
.
├── kvho_ss
│   ├── myshape.pl
│   ├── readme.md
│   └── ss.c
└── README.md

1 directory, 4 files

Level notes: https://www.jellyneo.net/?go=shapeshifter

At at the very least, an extra check that could perhaps save some time. I
need to put in a test to see how often the check would fire. Maybe it
never does… maybe it happens a lot.

 If you took the total area of all pieces and from that subtracted the
 difference of the initial board from the pristine board, you would have
 the product of the total number of “flips” — pieces that go past
 the goal piece back to the first piece and then eventually back to the
 goal piece again — times the depth of the board. So divinde by the
 depth to get the total number of flips.

So, the optimization, is to keep a running count of how many flips have
been performed. If a potential move would put it over the limit —
it’s a bad move and will not lead to a solvable board. Combined with
my original pruner (area of remaining pieces minus the difference of
the board must be greater than or equal to zero and a multiple of the
board depth), this may make the current generation of boards solvable
in a reasonable amount of time.

(This can be eyeballed by saying that N has to be the same or smaller
than its parent. That is easy and doesn’t require a new ‘C’ routine
or having to return a tuple from place()… omg… if this works… my
pen-and-paper test says it can… so exciting. But I’ve been excited
by duds before 😦 )

I can’t see how these puzzles could, realistically, ger much
harder. I’m beginning to think the top scorers are solving them by hand;
maybe they are just that intuitive.

-- shapeshifter 2007-05-30 at 18:40

Performance Notes

level khvo speed python speed
26
27 880 us 17m 9s
28

Blog posts:

Other solvers:

Neopets Shapeshifter:

Lights Out:

Mathematics:

https://www.jaapsch.net/puzzles/lomath.htm

ChatGPT 3.5

  • I have added a chat gpt 3.5 log as a text file

neopets-shapeshifter's People

Contributors

jimrustle avatar

Watchers

 avatar  avatar

neopets-shapeshifter's Issues

html parsing

what are you using to parse the HTML files? both the python and C variations don't seem to want to accept the shapeshifter HTML file on my end

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.