Results 1 to 4 of 4

Thread: Software representations of the cube?

  1. #1
    statue
    Join Date
    Jul 2008
    Location
    West Chester, PA
    WCA Profile
    2008KORI02
    YouTube
    StachuK1992
    Posts
    3,560

    Default Software representations of the cube?

    If you have access to any virtual implementations of the state of a Rubik's Cube, please post them here.

    What I'm looking for here is just a class that represents a cube, with some functions allowing turning the pieces.

    It'd be nice to have a collection of these in each language, so developers in the future wouldn't have to create their own each time they make something in a new language.

    Stachu

  2. #2
    Member mr. giggums's Avatar
    Join Date
    Feb 2010
    Location
    Batavia, Northern Illinois
    WCA Profile
    2011BERN02
    Posts
    390

    Default

    When I read the thread title I thought that this thread would be about graphical representations of a cube. I think that this should also be discussed. There are two main cateogories of design, 2D and 3D. I will believe we should focus on 2D because there is more variation. The best representation I have come up with is pictured below. This design keeps the URFD faces completely together, and the LB faces only a little bit seperated.

    2dCube.jpg
    There are 10 kinds of people in the world. Those who get it, those who don't, and those who didn't see a ternary joke coming. ~Petrus Solver~

  3. #3
    Super-Duper Moderator Lucas Garron's Avatar
    Join Date
    Jul 2007
    Location
    Where the rolling foothills rise
    WCA Profile
    2006GARR01
    YouTube
    LucasGarron
    Posts
    3,252

    Default

    This has been on my to-do list for a long while, but I prioritized Mark 2 functionality over clean puzzle models for now. I don't have anything big to post right now, but I'll be watching this thread closely.

    Also, a suggestion: try to look at / infer standards, e.g. the Singmaster / Reid positional notation used by ACube.
    garron.us | cubing.net | twisty.js | ACube.js | Mark 2 | Regs | Show people your algs: alg.cubing.net | Cube on your smartphone! cubing.net/touch

  4. #4
    statue
    Join Date
    Jul 2008
    Location
    West Chester, PA
    WCA Profile
    2008KORI02
    YouTube
    StachuK1992
    Posts
    3,560

    Default

    Lucas; I'm more or less looking for something a bit more concise. Reid is fairly complex as far as I can tell.

    Any others willing to contribute?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •