Rubik-Tensor / README.md
JBAujogue's picture
first cube class
a478bce
|
raw
history blame
1.27 kB

Rubik-Tensor

Setup

This project uses uv 0.7 as environment & dependency manager, and python 3.11 as core interpreter. Install the project with

uv venv
(Activate env)
uv sync
pre-commit install

Basic usage

from cubik import Cube

cube = Cube.from_default(['U', 'L', 'C', 'R', 'B', 'D'], size = 3)
print(cube)
#     UUU        
#     UUU
#     UUU
# LLL CCC RRR BBB
# LLL CCC RRR BBB
# LLL CCC RRR BBB
#     DDD
#     DDD
#     DDD

Roadmap

  • Fully tensorized Rubik Cube model (states, actions) running on cuda.
  • Base solvers following rule-based policies.
  • Visualization interface.
  • Movement explorer: Explore result of an input sequences of moves, find sequences of moves satisfying input constrains.

Related projects