Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: Desperately need help for Uni Assignment. Willing to pay.

  1. #1
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Desperately need help for Uni Assignment. Willing to pay.

    I've been battling with a particular assignment for my 3rd year computer science paper for over three weeks now. After many hours of struggling I still feel far from a solution. The assignment is to write code that will solve a puzzle. The puzzle consists of 12 pentagons with each side of the pentagon having a colored animals head or bottom facing right or left. Such that a red left facing head would match with a red right facing bottom. When every side is matched they make a dodecahedron. We have been given 3 puzzles which correspond to the 3 text files. I have written this code but it only seems to solve the problem when I make an input file with 7pieces or less. I have included the latest version of code I have written as well as the input files. I realize that my code is extremely sloppy, convoluted and hard to understand (especially the solve method) but I would appreciate any help. If someone were to solve it for me I would be happy to pay 50NZD. Please help me as I am at my wits end. If you need more documentation or information in regards to the question don't hesitate to ask. Thanks.
    Attached Files Attached Files


  2. #2
    Junior Member
    Join Date
    Oct 2013
    Posts
    6
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default Re: Desperately need help for Uni Assignment. Willing to pay.

    How does the final dodecahedron have to be rendered? Do you have to render the shape in 3D? I need a few more details on the project before I can give any help.

  3. #3
    Junior Member
    Join Date
    Oct 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Desperately need help for Uni Assignment. Willing to pay.

    No all you have to do is display what pieces and sides correspond to each other. The final output may be something like Piece 1: Side 1 red left-facing tail corrosponds to Piece 8: side 2 red right-facing head, ect. I'd probably format the output to some extent but I'm desperate to get it working so that every piece is in a position and every side matches correctly. Also in the brief we were giving it said "At least one of the puzzles can be solved" so not all of the .txt files may work.

Similar Threads

  1. Boucing ball from stanford uni
    By NoviceJAVA in forum AWT / Java Swing
    Replies: 0
    Last Post: October 8th, 2011, 06:38 PM
  2. Help Desperately needed...
    By SBOSlayer in forum Java Theory & Questions
    Replies: 3
    Last Post: November 30th, 2010, 04:10 PM
  3. Uni project - help please :)
    By sameer in forum Java Theory & Questions
    Replies: 0
    Last Post: November 6th, 2010, 11:54 AM
  4. Replies: 1
    Last Post: February 22nd, 2010, 08:20 AM
  5. Desperately in need of help
    By Idy in forum Web Frameworks
    Replies: 0
    Last Post: January 17th, 2010, 02:00 PM