Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drhagen/snakecubesolver
Cheat at those fold-a-chain-into-a-cube puzzles
https://github.com/drhagen/snakecubesolver
Last synced: 12 days ago
JSON representation
Cheat at those fold-a-chain-into-a-cube puzzles
- Host: GitHub
- URL: https://github.com/drhagen/snakecubesolver
- Owner: drhagen
- License: mit
- Created: 2016-01-23T20:43:09.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T01:32:16.000Z (almost 8 years ago)
- Last Synced: 2024-10-30T03:27:53.546Z (about 2 months ago)
- Language: Ceylon
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# snakecubesolver
This is a simple Ceylon project to solve snake cube puzzles. [A random description here](https://stackoverflow.com/questions/11622068/snake-cube-puzzle-correctness). The code currently only works on 3x3x3 cubes. The variable `strands` encodes turns of the snake. To encode:1. select one of the ends as your starting point
2. count the steps it takes to get to the end of the first segment (either 1 or 2) (this is the first number in the list)
3. now the snake turns, count the number of steps it takes to get to the end of that segment (this is the second number in the list)
4. repeat until the end is reachedFor reference, the snake in the link above is the snake in the code. I started from the left end.