Skip to content

Commit

Permalink
Edit setup.py, version
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliaw committed Jun 6, 2015
1 parent 0de96ae commit 80ba3c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ print(mycube)
```
![alt tag](http://i.imgur.com/OI4kbn7.png)

We also provided some useful tools to deal with Rubik's Cube algorithms.
We also provided some useful tools to deal with Rubik's Cube formulae.

``` python

Expand Down
2 changes: 1 addition & 1 deletion pycuber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

__all__ = ["Cube", "Cubie", "Centre", "Corner", "Edge", "Square", "Step", "Formula"]
__title__ = "PyCuber"
__version__ = "0.1.4"
__version__ = "0.2.0"
__author__ = "Adrian Liaw"
__license__ = "MIT"
20 changes: 10 additions & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
PyCuber
=======
PyCuber is a Rubik's Cube simulator in Python 2/3.
PyCuber is a Rubik's Cube package in Python 2/3.
--------------------------------------------------
The cube can be revealed as expanded view in the terminal, so it's easy
Expand All @@ -24,25 +24,25 @@
>>> print(mycube)
.. image:: https://camo.githubusercontent.com/906f83f4933fe1d0741b7d3ff43bda66fb464cdd/68747470733a2f2f7261772e6769746875622e636f6d2f61647269616e6c6961772f507943756265722f76302e31622f7374617469632f696d672f7465726d696e616c2e706e67
.. image:: http://i.imgur.com/OI4kbn7.png
We also provided some useful tools to deal with Rubik's Cube algorithms.
We also provided some useful tools to deal with Rubik's Cube formulae.
.. code-block:: python
>>> import pycuber as pc
>>> # Create an Algo object
>>> myalg = pc.Algo("R U R' U' R' F R2 U' R' U' R U R' F'")
>>> # Create a Formula object
>>> my_formula = pc.Formula("R U R' U' R' F R2 U' R' U' R U R' F'")
>>> # Reversing an Algo
>>> myalg.reverse()
>>> print(myalg)
>>> # Reversing a Formula
>>> my_formula.reverse()
>>> print(my_formula)
>>> # Mirroring an Algo object
>>> # Mirroring a Formula
>>> myalg.mirror("LR")
>>> print(myalg)
>>> print(my_formula)
F R U' R' U R U R2 F' R U R U' R'
Expand Down

0 comments on commit 80ba3c1

Please sign in to comment.