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 2 of 2

Thread: Help! how would you code these simple games?

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Help! how would you code these simple games?

    This game should generate 3 random colours, in the 3 coloured boxes to simulate the rolling of 3 dice. The player chooses in the 3 drop down menu below the dice as guesses for what will be thrown.
    When the button is pressed, the 3 die are "rolled" and their scores are matched with the guesses in the boxes. The player is told if there are 0, 1, 2 or 3 matches.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by makarov; November 15th, 2009 at 05:41 PM. Reason: people were getting the wrong msg


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,330
    Thanks
    181
    Thanked 829 Times in 772 Posts
    Blog Entries
    5

    Default Re: Help! how would you code these simple games?

    Because you say are new to java, sun provides a wealth of online tutorials ( The Java™ Tutorials ). Look at using the Swing interface ( Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials) ) to create the user interfaces. Because this is the Applet forum, also see Lesson: Applets (The Java™ Tutorials > Deployment) Hopefully these will get you started in the right direction

  3. The Following User Says Thank You to copeg For This Useful Post:

    makarov (November 15th, 2009)

Similar Threads

  1. Simple Form Help
    By dsen in forum Web Frameworks
    Replies: 1
    Last Post: September 8th, 2009, 11:32 PM
  2. Someone please help me write a simple program!!!
    By ocean123 in forum Loops & Control Statements
    Replies: 3
    Last Post: June 14th, 2009, 09:46 PM
  3. Get paid for developing older yahoo games jar file
    By proudofmylife in forum Paid Java Projects
    Replies: 9
    Last Post: May 22nd, 2009, 02:15 AM
  4. NEW: Forum Arcade Games & Member Highscores!
    By JavaPF in forum The Cafe
    Replies: 0
    Last Post: February 3rd, 2009, 04:54 AM