Monday, September 06, 2010

[Py] Rubik's cube game

Although I am not good at solving Rubik's Cube, I am a fan of it. Of course, I am always wondering whether there are programs which can show a 3D Rubik's Cube in my computer so that I can play the cube interactively. And the answer is YES!

On Pygame site, there is a wonderful program called Rubik's Cube Game meets all my needs. Actually, I've downloaded and tested it several months ago, but until today I finally get clear steps to make the program run properly. My modifications are as follows.
  1. rename Images/*.PNG to Images/*.png
  2. apt-get install python-opengl
  3. download gameobjects and install it
  4. remove *.pyc
  5. rename *.pyw to *.py
  6. run ``python Rubik's''

No comments:

Post a Comment