pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
Rubiks Cube

Rubiks Cube - 1.1

Krzysztof Król (krolu)

Tags:

Description

Here's my first program in Python using PyGame. It calls "kostka", that means cube. It's a program for searching the solution to Rubik's Cube. It works like this: You program some combination of movements by clicking on arrows arround the spread-ed cube, and then click the Run Test button. After that, program will shuffle the Rubik's cube and begin to do every combination one by one from the list of movements that you program earlier. It looks if the puzzle is solved or after full run is the combination of blocks on the cube is identical with the start combination. If it is then the program will tell you how many movements have been before the puzzle had looped, and if it is not the whole loop start again. The object of that puzzle is to find out is there any combination that repeated over and over will eventually solve the Rubik's Cube. I wish you lots of fun with this program and good luck.

Changes

Thanks to Rob McRea I have found a bug in the program that produces wrong rotations of the brick. So there are copletely new transformations and now everythink is ok.

Links

Home Page: http://www.kroluprogs.yoyo.pl/down_en.html
Windows: http://www.kroluprogs.yoyo.pl/en/programs.html

Screenshot


click to view original size

Releases

Rubiks Cube - 1.15 - Aug 6, 2007
Rubiks Cube - 1.1 - Aug 5, 2007
Rubiks Cube - 1.0 - Jul 30, 2007

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

December 28, 2007 1:54pm - Dylan J. Raub - nickname: (dylanjraub) - 2/5
I'm sorry, but it doesn't make any sense... How do you solve it again?
August 3, 2007 12:24pm - Krzysztof Król - nickname: (krolu) - 3/5
sorry, but i dont get you (Rob McCrea). Could you be more specific, because you wrote about couple of pieces on edges and wrote that it think it is solved than you are very wrong. Read on the pagewhat this program is realy for and than submit that it doesn't work. It's looking for possible solution of the cube for the commands you have entered. It doesnt have to end with solution.
August 3, 2007 2:26am - Rob McCrea - nickname: (mccrea) - 2/5
Lemme sumup -- if the program thinks it solved it, so be it. Too bad the graphical representation is pure fantasy.
August 3, 2007 2:24am - Rob McCrea - nickname: (mccrea) - 2/5
It doesn't work. Had three of the same edge pieces, several edge pieces that were the same color on both it's faces, even had a corner piece that was yellow on all it's 3 faces. Tried to make a screenshot, but I deleted it after spending serveral minutes trying to annotate all the errors. *shrug*

Nice try :)
July 30, 2007 1:29pm - Ian Mallett - nickname: (geometrian) - 3/5
Very nice, worked first try. Good UI.
July 30, 2007 1:24pm - Ian Mallett - nickname: (geometrian)
Nooooooooooooooooooo! I've been trying to make a program just like that! Oh well, you beat me to it. Good job.
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Jul 28, 2014

Jul 22, 2014

Jul 21, 2014

Jul 20, 2014

Jul 19, 2014

Jul 15, 2014

Jul 10, 2014

Jul 9, 2014

Jun 27, 2014



Jun 24, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)