Skip to content

tompaton/8cube-puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8 Cube Puzzle

4x2 grid 8 cubes 6 faces 4 directions can flip and rotate around each axis to get another solution (reduce positions by 1/8)

8! x 6 x 4 x 1/8 options = 40320 x 3 = 120960 positions

edges on adjacent faces have to match

duplicate cubes further reduces number of positions by 3! x 2! x 2! = 24 --> only 5040?!

Usage

$ npm install

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)

Future

3D svg rendering?

generate new cubes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published