Results 1 to 3 of 3
- 05-23-2010, 02:57 AM #1Member
- Join Date
- May 2010
- Rep Power
End of the year project, no ideas and I have a bad teacher
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.
- 05-23-2010, 04:05 AM #2
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.
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)
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
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
- 05-23-2010, 07:12 AM #3Member
- Join Date
- May 2010
- Rep Power
- By kazuma_riku73 in forum Sun Java Wireless ToolkitReplies: 7Last Post: 06-18-2010, 11:48 AM
- By nadia in forum Advanced JavaReplies: 11Last Post: 10-28-2009, 01:22 PM
- By sujatha_nw in forum NetworkingReplies: 0Last Post: 07-09-2009, 12:23 AM
- By kazuma_riku73 in forum Sun Java Wireless ToolkitReplies: 1Last Post: 01-15-2009, 11:14 AM
- By quddusaliquddus in forum Advanced JavaReplies: 19Last Post: 12-19-2008, 04:22 PM