Thread: Rubix Cube Contest

  1. #16
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    I don't know C++ so could I do it in C please?
    I would have to grade your program seperately.

    Perhaps we can add the caveat that programs can be written in the language of your choice.. but will be graded against other programs of the same language.

    You would be competing against any other C programmers that may have entered this contest.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  2. #17
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Quote Originally Posted by The Brain
    I would have to grade your program seperately.

    Perhaps we can add the caveat that programs can be written in the language of your choice.. but will be graded against other programs of the same language.

    You would be competing against any other C programmers that may have entered this contest.
    I dont think that would be fair.. Since the problem is more about problme solving technique and algorithms rather than language it should be graded on efficiency ( Number of moves taken to solve the cube)..

  3. #18
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Not to mention the fact that with the wrapper I mentioned it will compile as C++ code. Furthermore, it would be possible to write it fully in C, but swap out some headers and now it's magicly C++. Just because it's C++ doesn't mean it has to use classes.

    But I already did my contest, you get to make the rules for yours.

    Quzah.
    Hope is the first step on the road to disappointment.

  4. #19
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    I agree. Contest entries should be written in the language of your choice.



    Good input from everyone btw.
    Last edited by The Brain; 11-27-2004 at 10:55 AM.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  5. #20
    The C-er
    Join Date
    Mar 2004
    Posts
    192
    Thanks for letting me play

    Sorry for the late reply - total mobo failure means I'm using a system made from parts from my junk box. (Cyrix M2, 96Mb RAM, **cough** 14.4k modem ).

    I might enter the compo using "Safe C" i.e. the common subset of C & C++. That way everyone's happy.

  6. #21
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    Contest Results:


    Elad wins by a landslide.

    Perhaps with elad's permission i can post the source code
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  7. #22
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    You may use the source code at your discretion.

  8. #23
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    awesome.. go here to view the winning contest entry, or just download the .cpp attachment.
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  9. #24
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    read the winner code all seems too difficult to understand

  10. #25
    Registered User
    Join Date
    Jan 2005
    Posts
    1
    Is it possible for some one to compile an exe version as I am getting 2 errors and 4 warnings.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Expression Evaluator Contest
    By Stack Overflow in forum Contests Board
    Replies: 20
    Last Post: 03-29-2005, 10:34 AM
  2. Contest Winners
    By Sang-drax in forum Contests Board
    Replies: 0
    Last Post: 02-28-2005, 04:41 PM
  3. Anyone good with a Rubix Cube?
    By Nakeerb in forum C++ Programming
    Replies: 7
    Last Post: 11-05-2002, 05:59 PM