A CLI application for the 3x3x3 cube
Project description
cube-cli
A textual cli environment for manipulating a 3x3x3 cube and solving puzzles based on it.
Usage
cube [options] [file]
[file] is a saved cube from a previous session. If not specified, the cube is initialized to its solved state.
Options
--help --version
Commands
Before you enter a command, the current state of the cube is printed in a textual format.
<moves> A sequence of moves in standard cube move syntax. Case-insensitive. To specify a wide move, use a 'w' suffix.
^<moves> A sequence of moves in standard cube move syntax. Case-sensitive. To specify a wide move, use either a lower-case face letter or a 'w' suffix.
solve Return the cube to its initial solved position.
shuffle Randomize the position of the cube.
undo Undo the last previous command.
redo If the last previous command was an undo, reverse its effect.
save [file] Save the cube to a file. If [file] is not specified, save to the last file used for a load or save, or to cube.json in the current directory.
load [file] Load a saved cube. If [file] is not specified, load from the last file used for a load or save, or to cube.json in the current directory.
help, ? Print this command reference.
quit, q Exit cube.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cube_cli-0.4.1.tar.gz.
File metadata
- Download URL: cube_cli-0.4.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d51219a27f269a635ca1069522c86c9cb636652b3ebe9f9b220856bc09e46fc
|
|
| MD5 |
3c68c1efc116d8f300f8815ca5831c9d
|
|
| BLAKE2b-256 |
73bb002eaff71dbf78ad228be1df56209e4ec0b3a88b14a4e23663c8dac485d9
|
File details
Details for the file cube_cli-0.4.1-py3-none-any.whl.
File metadata
- Download URL: cube_cli-0.4.1-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
191ad509d79922188b4c434bbea6e515e9259ea1b4e476060122afdb1410c2cb
|
|
| MD5 |
44e8572d82a7d1a202572d791c1fa6bb
|
|
| BLAKE2b-256 |
2c6c376b9057292353b78fef07786645635ec80927f0a418cf23dae2eddddc13
|