Results 1 to 3 of 3
  1. #1
    AwesomeStorm is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Unhappy End of the year project, no ideas and I have a bad teacher

    Hello everyone!

    Well, it's the end of the year and so final projects are starting to be assigned. My project for computer science was assigned last week and is due in about 7 days, so I need to hurry on up ^_^

    Anyway, first thing you should know is that my teacher was rotten. He didn't teach us anything new this year at all, so I pretty much had to Google everything to know what the requirements for the project were.

    -It has to be in Swing
    -Has to have 2D arrays
    -Has to have controls (labels, text boxes, etc)
    -2 or more frames would be great :)
    -Has to use File IO
    -Has to have method overloading

    A little extra would be awesome too, just to prove my understanding of my teacher's "teachings".

    So, I have no ideas as to what to make at all. I tried making a game or two as well as a regular frame with a few random features on it, but everything failed horribly. I'm a VB.net and C# programmer so I'm really not used to all these extra steps and hard-coding GUI (tried NetBeans and Java GUI designers but they just confuse me more).

    If anyone could help me out here, that'd be great ^_^
    Try not to use too many technical terms, since my knowledge goes no further than maybe painting a rectangle on a Swing frame :(
    Last edited by AwesomeStorm; 05-23-2010 at 03:01 AM.

  2. #2
    sonny's Avatar
    sonny is offline Senior Member
    Join Date
    Feb 2010
    Location
    North West England
    Posts
    146
    Rep Power
    0

    Default keep it nice and simple and do it well

    maybe I have misinterpreted the OP but there are loads of simple games you could do. just take a nice simple idea and apply some imagination.
    i,m sure i could do this in a week and ive been teaching myself java for only about 4 months.

    Breakout is a nice simple game.

    array of bricks and array of collision points for the ball. quite a few arrays if you think about it

    a class for the game main method, a class for the ball, a class for the bricks, a class for the paddle, a class for the brickFormation.

    labels & stuff are your score on screen, how many lives left how many bricks left etc.

    Has to use File IO.
    saving the players score into a league table of the top 10 scores.
    retrieving a players progress in the game so they start from the level they finished last time

    2 or more frames would be great
    one frame to play the game, another for scores, game play info and stuff.

    overloading:
    not to sure about that im just a beginner,
    but if you had a class to do set out the brick formation
    you could have overloaded public methods in that .
    brickformation(int brickRows, int brickColums)
    and
    brickformation(int GameLevel) as a bounus level.
    same method but with different types of parameters is what i think it means.

    this link isnt using swing, but gives a basic approach to coding the game ,
    if your a year in i would imagine you could apply some imagination to it


    http://www.stanford.edu/class/cs106a...signment-3.pdf

    much luck
    Sonny
    :p I still have my "L" plates on...... directions and explanations are far more help than blaring your Horn! :p Watching:CS106a on YouTube \Reading The Art & Science of Java by Eric S Roberts

  3. #3
    AwesomeStorm is offline Member
    Join Date
    May 2010
    Posts
    11
    Rep Power
    0

    Default

    Quote Originally Posted by sonny View Post
    maybe I have misinterpreted the OP but there are loads of simple games you could do. just take a nice simple idea and apply some imagination.
    i,m sure i could do this in a week and ive been teaching myself java for only about 4 months.

    Breakout is a nice simple game.

    array of bricks and array of collision points for the ball. quite a few arrays if you think about it

    a class for the game main method, a class for the ball, a class for the bricks, a class for the paddle, a class for the brickFormation.

    labels & stuff are your score on screen, how many lives left how many bricks left etc.

    Has to use File IO.
    saving the players score into a league table of the top 10 scores.
    retrieving a players progress in the game so they start from the level they finished last time

    2 or more frames would be great
    one frame to play the game, another for scores, game play info and stuff.

    overloading:
    not to sure about that im just a beginner,
    but if you had a class to do set out the brick formation
    you could have overloaded public methods in that .
    brickformation(int brickRows, int brickColums)
    and
    brickformation(int GameLevel) as a bounus level.
    same method but with different types of parameters is what i think it means.

    this link isnt using swing, but gives a basic approach to coding the game ,
    if your a year in i would imagine you could apply some imagination to it


    http://www.stanford.edu/class/cs106a...signment-3.pdf

    much luck
    Sonny
    Thanks for the reply, I'll consider it :)

    I was thinking maybe of an interpreter with a few basic functions, I've done that in VB many times, should be easy.

Similar Threads

  1. Urgent! Need help for my final year project!!
    By kazuma_riku73 in forum Sun Java Wireless Toolkit
    Replies: 7
    Last Post: 06-18-2010, 11:48 AM
  2. Final year project idea -
    By nadia in forum Advanced Java
    Replies: 11
    Last Post: 10-28-2009, 01:22 PM
  3. Replies: 0
    Last Post: 07-09-2009, 12:23 AM
  4. Urgent! Need help for my final year project!!
    By kazuma_riku73 in forum Sun Java Wireless Toolkit
    Replies: 1
    Last Post: 01-15-2009, 11:14 AM
  5. Any Ideas for a Project?
    By quddusaliquddus in forum Advanced Java
    Replies: 19
    Last Post: 12-19-2008, 04:22 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
  •