Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Rubiks Cube for Alice
Old
shikodingo
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Location: canada
Default Rubiks Cube for Alice - 06-04-2012, 09:59 AM

Hello Alice Community

I was wondering...perhaps it is possible to make a rubiks cube with Alice? Is this possible? Because I think all you would need is to create a bunch of squares (probably a 4x4 rubiks cube) and then somehow using a variable to keep the squares from being pulled off. Then of course in the beginning it would be made, just ask the user if they want it to be scrambled and then if they click yes, the squares will jumble up. I am not sure how this will all work, I have a very vague idea, but any help would be awesome! This will be a very interesting project.
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 06-04-2012, 12:47 PM

I would think it is possible. All you would have to do is put the cubes in the shape of a bigger cube. And then, by giving commands, set their vehicles to some dummy object(s), and rotate the dummy objects accordingly. I might post a world to give an example.


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119

Last edited by InsertName; 06-04-2012 at 01:00 PM.
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 06-04-2012, 01:26 PM

Example 1
Attached Files
File Type: a2w Rubix Example 1.a2w (249.1 KB, 13 views)


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
shikodingo
Junior Member
 
Status: Offline
Posts: 4
Join Date: May 2012
Location: canada
Default 06-05-2012, 10:55 AM

thanks i'll definetly check that out when i'm able to.
   
Reply With Quote
Old
sfunk
Senior Member
 
sfunk's Avatar
 
Status: Offline
Posts: 1,112
Join Date: Mar 2011
Location: I don't know
Default 06-07-2012, 12:09 AM

well if you are going to have the cube start off solved then "jumbled up", you could easily use one of the many algorithms that are used to solve a rubiks cube to mess the cube up. this would give you an actual chance to solve the cube rather than just randomly move individual cubes around and screw up the algorithms.


If you are stuck on a project, check out the tutorials I made here at this link:

http://alice.org/community/showthread.php?p=36778#post36778

There are lots of tutorials on it so far, including some youtube videos, check it out

Or..

Go to my youtube channel to check out my alice 2.2 tutorials I have there..

http://www.youtube.com/user/sfunk1992?feature=mhsn
   
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.