Results 1 to 2 of 2
  1. #1
    amalina is offline Member
    Join Date
    Jul 2009
    Posts
    17
    Rep Power
    0

    Question can someone help me with this game??

    i dont know where to get start and how to get start with the coding..


    write a program that asks for a name for the character ans asks for the point of each characteristics. however, the total point of 3 charactheristics should less than 15 points. if exceeded 15,then 5 point are assigned to each characteristic.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    The steps I would do are these:
    1) Get lots of paper and a pencil and try to think of how you would solve this type of problem without a computer.
    2) After you've written out some steps, take each step and see if you can subdivide it into smaller steps.
    3) After you've gotten the smallest steps you think possible, try to use this as an outline for your program. Write this outline again on paper.
    4) Create a program skeleton: the class declaration and perhaps a main method.
    5) Compile this skeleton code and make sure there are no compile errors.
    6) Fix any errors and don't add any more code until all compile errors are corrected.
    7) Start adding code based on your outline a little bit at a time.
    8) Compile after each small addition of code. Go to step 6) and repeat until program is done.

    Then if it still doesn't work, come on back here with your code attempt and any specific questions, and we'll be glad to help you.

    Oh, also, if posting code, please don't forget to use code tags so that your code retains its formatting and is readable. That will make helping you much easier. Best of luck!

Similar Threads

  1. Replies: 2
    Last Post: 08-05-2010, 04:49 AM
  2. Help with my game!
    By Manikyr in forum New To Java
    Replies: 6
    Last Post: 06-06-2009, 11:09 AM
  3. Game 21
    By aRTx in forum Advanced Java
    Replies: 3
    Last Post: 04-04-2009, 12:33 AM
  4. 2D strategy game or 2D war game
    By led1433 in forum Java 2D
    Replies: 5
    Last Post: 02-10-2009, 06:00 AM
  5. game
    By amith in forum AWT / Swing
    Replies: 0
    Last Post: 05-19-2008, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •