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: Creating the game Rushhour.

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

    Default Creating the game Rushhour.

    Hey,

    I'm supposed to create the game rushhour with the program IntelliJ, but i'm totally stuck with it.
    I'm very unskilled in programming since this is my first year.
    There should be 4 difficulty levels: beginner, intermediate, advanced and expert.
    I need to use an enum for the difficulty levels and also an enum for the driving direction for the cars.
    For the board i should use an 2-dimensional array and showing the board should be done with the help of a toString method.
    Also, the board should be read from an extern txt file. There should be an extern txt file for every board (I'm not sure i'm using the right word for it, but with board i mean the cart where u can see how the vehicles are presented).
    I need to save the score in an txt file names score.txt.
    The score is based on the amount of moves you needed to do to complete the board/cat.
    In the score.txt file is for each board/card the best score saved together with the name of the player.

    This is how it should goe:
    - ask the user the disired level and cartnumber.
    - show the gameboard.
    - ask which care should be moved and in which direction.
    - Check the input and when there is a problem tell the user what problem there is.
    - move the car and show the changed playboard.
    - ... keep doing this until the red car could leave the board.
    - show the end score

    I'm really sorry for my bad english and if anyone could help me i would be very happy and grateful.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,162
    Thanks
    65
    Thanked 2,725 Times in 2,675 Posts

    Default Re: Creating the game Rushhour.

    Can you post the code you have so far and ask specific questions about the problems you are having?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. creating pop-ups in a 2 player game
    By bigtan in forum Java Networking
    Replies: 1
    Last Post: May 2nd, 2012, 07:28 AM
  2. AS Assignment project - Creating a game in Greenfoot
    By ryan_fagan in forum What's Wrong With My Code?
    Replies: 6
    Last Post: April 5th, 2012, 01:07 PM
  3. Dice game code creating help!
    By kodols in forum What's Wrong With My Code?
    Replies: 4
    Last Post: November 22nd, 2011, 07:01 PM
  4. Help Creating a method for my jellyBean gussing game
    By CookiesForRandy in forum What's Wrong With My Code?
    Replies: 11
    Last Post: November 20th, 2010, 09:29 AM
  5. Replies: 8
    Last Post: December 9th, 2009, 04:45 PM

Tags for this Thread