Skip to content
/ rubik Public

Rubik's Cube representation + transformations + 3d viewer (Scala + JMonkeyEngine3)

License

Notifications You must be signed in to change notification settings

phisikus/rubik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubik

This project provides simple representation of Rubik's Cube in Scala. It supports transformations/rotations and allows to display the end result (thanks to usage of JMonkeyEngine). You can create cubes of different sizes, serialize and deserialize them (chill/Kryo library). The code is mostly FP and contains unit tests for the more complicated functions.

The goal of this toy project is to provide a model for future experiments with different algorithms.

Image of Rubik's Cube

Usage

You can run tests using Maven:

mvn clean test

... or build a jar package with dependencies...

mvn package

...and run it using:

 java -jar ./cube-viewer/target/cube-viewer-*-jar-with-dependencies.jar

License

Check LICENSE file.

About

Rubik's Cube representation + transformations + 3d viewer (Scala + JMonkeyEngine3)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages