JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q8094F
  • License GPL-3.0-or-later

Build twisty puzzles from geometric descriptions

Package Exports

  • puzzle-geometry

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (puzzle-geometry) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

To build this:

yarn install

make

make test

The UI for this is primarily the command line JavaScript "pg.js" which you run with node.

Docs to come. Sample:

node pg.js --ss 3x3x3

node pg.js --canon megaminx

node pg.js --ksolve pentultimate

node pg.js --gap helicopter

node pg.js --svg skewb

Options to try out:

--allmoves: generate all moves (i.e., slice moves on 3x3x3)

--outerblockmoves: generate outer block moves rather than slice moves

--vertexmoves: use corner moves, not face moves, on tetrahedral puzzles

--nocorners: drop corners from the puzzle

--noedges: drop edges from the puzzle

--nocenters: drop all centers from the puzzle

--noorientation: drop orientation from the puzzle

--moves U,F,R: restrict moves to a given set (e.g. 3U2,2f)

--quiet (or -q): don't emit much

--verbose: be louder

--optimize: try to simplify the ksolve/gap/ss description