This project is an extension to the Pathery website (www.pathery.com). It does two main things:
- Based off of https://github.com/WuTheFWasThat/midnighttherapy
- Extend the client (browser) to do things like show block values and save/load of solutions.
- Lets the website interact with a personal server (running a solver), to facilitate human-computer interaction.
Hotkey | Action |
---|---|
F | Solve (hold shift to animate) |
First you'll need a server running.
- Clone this repo and cd into it (How to install git)
- Install Node (How to)
npm install express
- Run locally: (or just
npm start
, if you have npm)
Next, add the client to the browser window.
- Go to Pathery
- Paste
$.getScript('https://raw.github.com/WuTheFWasThat/midnighttherapy/master/pathery-client.js')
into the Javascript console.
Edit MAX_DEPTH in pathery_server.js to change how many blocks the solver places. Right now on a 2013 Macbook Pro it can do ~8 block in simple ~10s.
-
Partial-Path caching
-
Better hashing algorthm for positions. Right now the hash key is the array of block placed sorted then toString()ed.
Like {"[0,1]": 1, "[0,1],[0,2]": 1...}
CREDIT:
Big thanks to BlueRaja, HRoll, Joy, skishore, wuthefwasthat for making this possible.