semvec/pypi-packages huggingface dataset:
cubeai 0.0.16
an AI solver for the Rubik's Cube

# Magic Cube AI Solver

The common solutions to the magic cube (a.k.a Rubik's Cube) involve
one of the two:
1. Unreasonable amount of resources - CPU, memory, etc. or,
2. A very large number of steps

It has been shown that any _3x3x3_ cube can be solved
using no more than 26 quarter turns (90 degrees rotations of the cube's faces),
yet the efficient solvers tend to yield solutions with dozens of turns.

The usual AI methods don't work well with this problem due to the complex
nature of the [group](https://en.wikipedia.org/wiki/Rubik%27s_Cube_group)
which is induced by the cube.
Namely, the _A*_ search algorithm needs a good heuristic to be able to
efficiently cover its search space, and those are hard to come up with.

We propose the following approach:
* Use Machine Learning to learn a heuristic
* Perform _A*_ search with the learned heuristic
zhot 0.2.1
Command-line implementation of Zhot, an extensible Scissors-Paper-Stone game.
Requires Python: >3.5

.. image:: http://img.shields.io/:version-0.2.1-green.svg

Zhot
======

I had some fun teaching myself Perl with my Rock-Paper-Scissors script
over at https://bitbucket.org/AmyDeeDempster/rock-paper-scissors

This is a more extensible version in Python, done in a more mathematical
and object-oriented manner.

Usage
------

### Establishing game rules

Supply a Comma-Separated Values file as a command-line argument for this
script. For example:

``zhot moves/moves-5.csv``

If not supplied, a default set of three-move rules will be used.

### Gameplay and user input

In the game, type the name of the move you wish to play. This can be
abbreviated.

Other commands available include:

-  ``rules`` or ``help``
-  ``score``
-  ``rounds``
-  ``diagram``
-  ``exit`` or ``quit``

You can also just hit Return to quit the game.

### Rule diagram

The ``diagram`` command generates, from the rules of the current game
a vector diagram illustrating those rules.

Dependencies
------------

### Built-in

-  csv
-  random
-  sys
-  re
-  math

### Third-party (pyPI)

-  numpy
-  svgwrite
-  scour


Interpreter
-----------

Python > 3.6

(Tested on macOS and Korora Linux installations of CPython 3.6.5 and
3.7.0b4)

Licence
-------

Creative Commons

See text in LICENCE.html

Further information at
https://creativecommons.org/licences/by-sa/3.0/au/