Skip to content

Commit 30962e0

Browse files
committed
Update readme
1 parent c4adf46 commit 30962e0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PyCuber
22
====================
33

4-
PyCuber is a Rubik's Cube simulator in Python 2/3.
4+
PyCuber is a Rubik's Cube package in Python 2/3
55
--------------------
66

77
The cube can be revealed as expanded view in the terminal,
@@ -20,24 +20,24 @@ mycube("R U R' U'")
2020
print(mycube)
2121

2222
```
23-
![alt tag](https://raw.github.com/adrianliaw/PyCuber/v0.1b/static/img/terminal.png)
23+
![alt tag](http://i.imgur.com/OI4kbn7.png)
2424

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

2727
``` python
2828

2929
import pycuber as pc
3030

31-
# Create an Algo object
32-
myalg = pc.Algo("R U R' U' R' F R2 U' R' U' R U R' F'")
31+
# Create a Formula object
32+
my_formula = pc.Formula("R U R' U' R' F R2 U' R' U' R U R' F'")
3333

34-
# Reversing an Algo
35-
myalg.reverse()
36-
print(myalg)
34+
# Reversing a Formula
35+
my_formula.reverse()
36+
print(my_formula)
3737

38-
# Mirroring an Algo object
39-
myalg.mirror("LR")
40-
print(myalg)
38+
# Mirroring a Formula object
39+
my_formula.mirror("LR")
40+
print(my_formula)
4141

4242
```
4343
```

0 commit comments

Comments
 (0)