Thread: Rubik's Magic?

  1. #1
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834

    Rubik's Magic?

    I've looked everywhere for any programs that handle Rubik's Magic... (not to be confused with Rubik's Magic Cube as the cube is sometimes called).

    Rubik's Magic is the 8-tile (or sometimes more) flat puzzle that's connected by nylon wires... It allows folding on various axes. See
    http://en.wikipedia.org/wiki/Rubik%27s_Magic

    Of course representing it in a program is the first challenge. Which transformations are logically possible, or can be physically achieved without stretching the wires too much (perhaps a parameter of how much percentage of stretch is allowed?) etc. etc.

    Then showing the puzzle on the screen would be another fun challenge.

    Anybody have any thoughts?

  2. #2
    Registered User samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Newport
    Posts
    382
    That would be a tough one - much more complex than the cube because with the cube all of the moves can be done at anytime - with the Magic there would be far more constraint. If I had one in front of me I'd just play with it until some obvious patterns as to what you can/can't do and when emerged - then formalise them. But I can't remember the puzzle that well (it's been many years since I played it).

    Maybe you should try Rubik's Clock next - it's a smaller step up from the cube.
    Current Setup: Win 10 with Code::Blocks 17.12 (GNU GCC)

  3. #3
    Registered User
    Join Date
    Sep 2008
    Location
    Toronto, Canada
    Posts
    1,834
    Yeah. I thought of just exploring all possible paths and writing them down... encoding them eventually. Hopefully some pattern would emerge that would allow massive logical shortcuts rather than ending up with a huge lookup-table.

    But would I have ever stumbled upon that weird diagonal transform the speed-solvers use as seen on YouTube.

    The other way, and I'm leaning towards this one, is to actually represent the tile movement legalities by modeling them in some 3D internal representation. Not only the way the wires restrict movement, but also in some cases physical interference would prevent some moves.

    It looks to be quite a brain teaser on napkins during coffee breaks at work.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. help on magic square
    By katway in forum C Programming
    Replies: 2
    Last Post: 03-07-2005, 06:44 PM
  2. Magic Squares!
    By ZAM777 in forum C++ Programming
    Replies: 1
    Last Post: 04-28-2004, 03:34 PM
  3. magic square whoes
    By caws in forum C Programming
    Replies: 9
    Last Post: 03-30-2003, 10:36 PM
  4. Help with magic square program
    By Unregistered in forum C Programming
    Replies: 4
    Last Post: 07-15-2002, 05:57 AM
  5. the magic of MAGIC numbers
    By borko_b in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 06-27-2002, 02:36 AM