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: total noob needs help

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

    Default total noob needs help

    Hey guys. First and foremost, I'm a total noob so any and all advice is accepted. Secondly I'm trying to make basic games to start getting the hang of programming. I made a very basic dice game that simulates 20 rolls for a person while adding up the totals and displaying the running total after each roll. If the total was >= to 80 after the 20 rolls you win the game. What I'm trying to do now is create a two person, dice version of the game Chicago.

    In the game there are eleven rounds numbered 2 - 12. In each round the player tries to roll and score the number of the round, the numbers being the combinations possible with 2 dice. If a player throws the correct number for that round they score 1 point. If they throw any other number they donít score. The highest total after 11 rounds wins the game

    So I was thinking I would use the current Die class I have from my previous dice game to actually create two six sided die. Also, I wanted to have the game alternate between player 1 and player 2 and display each playerís roll values, their score for that round, and the running total after each round. It would be awesome if anybody could help me with the code for the actual game. Of course I don't want anybody to just give me the code with no explanation as that wouldn't help me progress at all, but as I said I'm a total noob so providing code and explanation would be greatly appreciated. Or if you could just provide could I could break it down through the Java API and figure it out myself.. PLEASE HELP!


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,232
    Thanks
    52
    Thanked 2,296 Times in 2,267 Posts

    Default Re: total noob needs help

    Do you have any specific questions about your project?
    Please post your code and any questions about problems you are having.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Total Newbie!
    By Luly_Marty in forum Member Introductions
    Replies: 2
    Last Post: November 26th, 2012, 06:40 PM
  2. Total Sales Error
    By KRUKUSA in forum What's Wrong With My Code?
    Replies: 4
    Last Post: March 19th, 2012, 08:20 PM
  3. (Total Beginner): Any suggestions on how to do that?
    By ggmike in forum What's Wrong With My Code?
    Replies: 3
    Last Post: January 5th, 2012, 08:40 PM
  4. Total NOOB question
    By coolidge in forum Java Theory & Questions
    Replies: 3
    Last Post: September 2nd, 2011, 04:09 PM
  5. I trying to calculate total price.
    By Muhanguzi in forum JDBC & Databases
    Replies: 6
    Last Post: June 15th, 2011, 03:35 PM