Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 02-14-2010, 01:22 PM

Has anyone tried my program yet? I will put it up again on this post, just because I have made a few changes (but not enough so that the turning works yet). If you look at this version though you might see how I am trying to make the cubes move together.

Right now you can only turn the cube though, but the squares are all done and put in place.
Attached Files
File Type: a2w Rubik's_Cube(unfinished).a2w (321.2 KB, 10 views)


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Finished working cube still needs polished
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default Finished working cube still needs polished - 02-28-2010, 12:47 AM

Here is a finsished working rubik's cube I made. Today i went from what i made earlier in this topic to this product. Click a square then an arrow (cone) to turn that row/column. Click the sphere then an arrow to rotate the entire cube.

I plan to add a randomizer to create puzzles some time and maybe even add tutorials or other features.

EDIT: removed out old attachment.

Last edited by Veryuhbull; 03-04-2010 at 07:28 PM.
   
Reply With Quote
It kinda..
Old
King Gamer(gorit)
Guest
 
Status:
Posts: n/a
Default It kinda.. - 02-28-2010, 12:57 AM

makes me want to make a world that solves rubiks cubes for you.
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 02-28-2010, 02:51 AM

Quote:
Originally Posted by King Gamer(gorit) View Post
makes me want to make a world that solves rubiks cubes for you.
Puzzle solving algorithms are really hard. I'm currently trying to make a method so that my slide puzzle solves itself using the IDA* algorithm, which is a variant of the A* algorithm, which I already know how to do, but I need to further understand how to integrate it within Alice so I'm making a world that demonstrates the A* in order to continue onto the IDA*.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 02-28-2010, 10:11 AM

This is a very cool Rubik's Cube world, it seems like everything works the way it should. The only problem I have with it is you have the turning of the Rubik's Cube backwards. When I click the circle to turn the cube, and then I press up to see the top face, it turns it down so that the bottom face shows up.

Also, I was trying to solve this, and it just took way too long to turn the pieces. The way you have it is that it takes 2 steps to rotate them. The first is you have to click the cube, and the second is clicking the cone to turn it. I am currently making my own version where you only have to click the cube and then drag it in the direction you want to turn in it. Its a lot faster, and if I have time to fix it today, I might post my own version of the Rubik's Cube. Also if I finish early today I might make a randomizer so that it mixes up the cube for you (I had that idea a long time ago but just haven't put it in yet).


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 02-28-2010, 10:36 AM

Well if you don't mind me copying your mouse grab twist idea i would intergrate that into mine.

The update below fixedthe turn issue of Dameria's. Also fixed one glitchy sticker. Added a way to quickly view the entire cube with the red sphere. Added something so the cube knows when it is solved.

EDIT: removed out old attachment.

Last edited by Veryuhbull; 03-04-2010 at 07:29 PM.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 978
Join Date: Sep 2009
Location: United States
Default 02-28-2010, 12:05 PM

If you can figure out how I did it with the mouse dragging, then go ahead. But your program and mine are very different, it will not be exactly like what I have, but it still can be done with what you have so far. It would make it a lot easier to turn if you use the mouse dragging.

I am currently having problems though with how I can get the cubes to vehicle properly to each other, do you have any ideas on how I can do this? How did you get yours to vehicle to the cube being turned?


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 03-01-2010, 12:00 AM

small update. added randomizer. it occasionally breaks, but i can't find why. i spent over half an hour looking for the culprit to no avail. The mouse grab is close to working. it needs tuning. I plan to make this world so one can use either option and that needs fine tuning.

Dameria, i used a second group of objects to mark whatcube was where, then used the up, down, left, right methods to grab the right blocks. they always vehicled to the center.
Attached Files
File Type: a2w rubik'_cube1.2.a2w (1.82 MB, 20 views)
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 03-01-2010, 05:24 AM

Quote:
Originally Posted by Veryuhbull View Post
small update. added randomizer. it occasionally breaks, but i can't find why. i spent over half an hour looking for the culprit to no avail. The mouse grab is close to working. it needs tuning. I plan to make this world so one can use either option and that needs fine tuning.

Dameria, i used a second group of objects to mark whatcube was where, then used the up, down, left, right methods to grab the right blocks. they always vehicled to the center.
I would like to make the suggestion that the randomizer check if the puzzle formation that it chose is solvable or not and to give a fix for it (unless you've already done that ). I ended up finding that puzzles like this can have impossible solutions for certain formations the hard way .
   
Reply With Quote
Old
Veryuhbull
Guest
 
Status:
Posts: n/a
Default 03-01-2010, 06:52 PM

well the way it randomizes is by actually shuffling the cube quickly, twisting it the same way you would work a rubik's cube. It really should be called a "shuffler" not a "randomizer"
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.