My rubiks cube program

This is a discussion on My rubiks cube program within the C++ Programming forums, part of the General Programming Boards category; Hey everyone, I just updated and fixed my rubiks cube program and was wondering if anyone would like to test ...

  1. #1
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728

    My rubiks cube program

    Hey everyone, I just updated and fixed my rubiks cube program and was wondering if anyone would like to test it for bugs and to tell me what you think about it before I update to a more graphical interface. I fixed the problem of having illegal positions and also added an extra view that allows you to see all 6 sides at the same time if you choose.

    I welcome all feedback!
    Attached Files Attached Files

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    It's been a long time since I used a rubiks cube, but I don't remember it being like that. What's the idea again? Aren't you supposed to get all the colors aligned? It looks like it starts off like that.

    Still, it's a good proggy, especially for a console program.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    When you buy a r-cube from a store they come aligned, so the program is realistic.

  4. #4
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    Yeah, and all you have to do is type mix if you want it mixed randomly. I'm curious how long it would take a rubiks master to solve my cube after typing mix. On a real cube I know they can do it in a matter of seconds!

  5. #5
    Registered User
    Join Date
    Jan 2003
    Posts
    56

    Exclamation

    i played it BUT when i started there was 1 cube
    and now there was 5


    bug?

  6. #6
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    errrr... did you enter 'v'? If you did then you changed views from one side to all sides.

  7. #7
    Registered User
    Join Date
    Jan 2003
    Posts
    56
    no not that i know
    if x == y , y == x

  8. #8
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    If the multiple cubes were in a shape of an upside down cross, then that you must have changed views. If not, then I don't have any idea since I haven't experienced any bug like that nor do I even see how it is possible considering the way my code is written.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  2. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  3. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 01:27 PM
  4. A cube root program.
    By guest111 in forum C Programming
    Replies: 14
    Last Post: 04-27-2007, 10:37 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21