|
Rubik's Cube
#316614
03/25/10 14:58
03/25/10 14:58
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
OP
Expert
|
OP
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
Hello all I want to present you, my work I did for school . It is a Rubik's Cube game. The gameplay is already working, but I am still at adding features like the Skin Editor and the loading/saving system. I know that this is a very bpring game/idea - but my teacher didn't want to believe me that I could program that At the moment I am waiting for a resonse for this. The skin Editor itself already works, but since it is useless to create a skin-pack without being able to apply it is really bad... I am planning to add some effects, and an "Action-Mode" where sometimes the screen gets black-white or the camera starts turning without the player doing something. For sure I am not a graphical designer, so the graphics are really bad ... I also have to admit that I never reached the end of the cube, so that i could only test the end when I set the number of turnings of the npc to 2 I also gave some test versions to my friends who really helped me to improve it So now, some screens: Done: # building the cube dynamicly # good camera movement (based on what my friends said) # basic turning # npc that turns the cube # menu that works with mouse and keyboard # high- and low-res cube # loading screen with loading %
Doing at the moment: # adding a good skin editor # adding effects # adding "action mode"
ToDo: # implenting Helping system with algrythm for the shortest way # adding better graphics # somethings that motivate the player
Thanks for reading Download:
Last edited by Rei_Ayanami; 03/27/10 13:00.
|
|
|
Re: Rubik's Cube
[Re: Damocles_]
#316723
03/26/10 06:26
03/26/10 06:26
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
OP
Expert
|
OP
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
Good morning @Superku: i will change some more small things and than i will Upload it for you @Captain_Kiyaku: thanks for that idea if i have enough time this weekend i will implent this - but i have to admit that i have another, more important project together with Spike @Damocles:As i said , i am trying to add this the Problem is that i haven't Found a real algorythm yet... If i can't find One the Next days i am trying it another way (i mean that things where they explain how to get one Block to another position ) For the Next hours i am in school, so i can just search for alghorythm in the web and think about the 5x5,6x6,... thing Best regards, rei
|
|
|
Re: Rubik's Cube
[Re: Pappenheimer]
#316740
03/26/10 10:04
03/26/10 10:04
|
Joined: Feb 2009
Posts: 2,154
Damocles_
Expert
|
Expert
Joined: Feb 2009
Posts: 2,154
|
Here some Sourcode and Example sites: http://www.math.ucf.edu/~reid/Rubik/optimal_solver.html http://www.wrongway.org/cube/solve.html http://en.wikibooks.org/wiki/How_to_Solve_the_Rubik%27s_Cube Developing an Algorythm is a decent task. Dont be disappointed if you cant get it to work, it really is a big chunk of development required. The simplest would be to develope a straigt forward brute-force recursive algorythm. (its very slow but rather simple) (testing out all possible moves up to a certain depth of turns, and returning the chain of moves that solves the cube at a certain point) If you need a "demo" algorythm, and just want to solve the cube no matter what, just record all previous moves (all to the scramble the cube, and all following player moves) Then move them backwards. This way you always solve the cube, without any AI required....
Last edited by Damocles_; 03/26/10 10:14.
|
|
|
|