Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:49 05 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CMM2: Rubik's Cube game

Author Message
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 02:39am 09 May 2021
Copy link to clipboard 
Print this post

Rubik's Cube features a 3x3x3 cube that has tiles with six
different colors.  The object is to manipulate the tiles
such that each face has all of the nine tiles set to the
same color.  There are two different views available.


Rubik's Cube.zip




Edited 2021-05-09 12:51 by bar1010
 
jirsoft

Guru

Joined: 18/09/2020
Location: Czech Republic
Posts: 532
Posted: 07:16pm 09 May 2021
Copy link to clipboard 
Print this post

Looks nice. Maybe can be extended with use of MMBasic's 3D commands (and be freely rotated)...
Jiri
Napoleon Commander and SimplEd for CMM2 (GitHub),  CMM2.fun
 
bar1010
Senior Member

Joined: 10/08/2020
Location: United States
Posts: 197
Posted: 09:34pm 09 May 2021
Copy link to clipboard 
Print this post

  jirsoft said  Looks nice. Maybe can be extended with use of MMBasic's 3D commands (and be freely rotated)...


I started creating a version with the 3D commands.  My idea was to make 27 3D cubes.  However, I was running into an error when attempting to create a 7th 3D object (it would allow six). Documentation says as many as 128 3D objects can be created.
Had gone down the route of allowing for the face to be changed to one of the other five faces, but experienced difficulties.
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024