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: Hello every user.. Please help in me my java assignment !!!

  1. #1
    Junior Member
    Join Date
    Mar 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hello every user.. Please help in me my java assignment !!!

    Question:
    Write programs using Java that will implement the array and link-list structure according
    to the questions given below.

    A popular single-player game called Tetris has different coloured blocks and shapes that
    fall to the bottom. The user can rotate the blocks to get a complete solid line of blocks.
    This line is then removed. The aim of this game is to get the highest number of complete
    lines which will be calculated as scores.
    This game keeps a score of users points achieved during every session. The information
    kept is the user’s name, level, score and lines.

    Based on the information given, create a list that will emulate a Tetris game score list,
    with additions of possibly new higher scores, and thus deleting scores that are below the
    10th entry in the list. Ensure that the list is sorted at all times from the highest to the
    lowest score.
    i) To create the list:
    a) Use an array data structure
    b) Use a link list data structure

    please anyone can give an idea ??


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Hello every user.. Please help in me my java assignment !!!

    Start making a list of the steps of what the code should do. Organize it in a logical order.
    If you have problems, post your specific questions here,

Similar Threads

  1. hello im new to java please help me with my assignment!
    By New to Java in forum Java Theory & Questions
    Replies: 5
    Last Post: January 14th, 2012, 01:01 AM
  2. Java assignment help
    By Senonzakura21 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 14th, 2011, 09:38 PM
  3. assignment troubles polymorphism (guide for assignment included)
    By tdawg422 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 8th, 2011, 10:01 AM
  4. Help with a java assignment?
    By rberry719 in forum What's Wrong With My Code?
    Replies: 8
    Last Post: September 30th, 2011, 01:02 PM
  5. Replies: 1
    Last Post: February 22nd, 2010, 08:20 AM