QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Consumer > General PC Forums > Everything Windows
The above video goes away if you are a member and logged in, so log in now!

Need help in basic programing for java

This is a discussion on Need help in basic programing for java within the Everything Windows forums, part of the General PC Forums category; Hi Guys! i have a problem! :S I need to create a "Memory" "make a match" (not shure of the ...

Reply
 
LinkBack Thread Tools
Old 05-08-2008, 06:43 PM   #1
 
Nemesis-Carl's Avatar
 
Join Date: Oct 2005
Location: Mexico
Posts: 144
Trader Feedback: 0
Default Need help in basic programing for java

Hi Guys! i have a problem! :S
I need to create a "Memory" "make a match" (not shure of the name) game in java...But im very noob in programing so i need help! x_x

I need to make a 6 x 6 card game with a graphic interface... (So it needs images)

Also i need to use more than one Class
And (if is not to hard) to have the option to play it with two players

It has to calculate the number of good scores and the number of wrong scores in % at the end of the game and the chance to play it again.

========================= ==

I hope someone can help me!
If u have links of tutorials or some examples of the game (in java code) make me know plz!
Nemesis-Carl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-08-2008, 06:57 PM   #2
 
foXtrot's Avatar
 
Join Date: Jul 2005
Location: Electro World
Posts: 2,559
Trader Feedback: 0
Default

Quote:
Originally Posted by Nemesis-Carl
Hi Guys! i have a problem! :S
I need to create a "Memory" "make a match" (not shure of the name) game in java...But im very noob in programing so i need help! x_x

I need to make a 6 x 6 card game with a graphic interface... (So it needs images)

Also i need to use more than one Class
And (if is not to hard) to have the option to play it with two players

It has to calculate the number of good scores and the number of wrong scores in % at the end of the game and the chance to play it again.

========================= ==

I hope someone can help me!
If u have links of tutorials or some examples of the game (in java code) make me know plz!
What library are you allowed to use for GUI development? AWT, Swing?

I'm guessing since you are allowed using classes that this is an object oriented program?
__________________
I R homaki on [URL=http://forums.**********.net/]M4M[/URL] i.e. im not on QJ for anything anymore.
foXtrot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-08-2008, 07:00 PM   #3
 
Nemesis-Carl's Avatar
 
Join Date: Oct 2005
Location: Mexico
Posts: 144
Trader Feedback: 0
Default

Quote:
Originally Posted by foXtrot
What library are you allowed to use for GUI development? AWT, Swing?

I'm guessing since you are allowed using classes that this is an object oriented program?

Yeah it is an object oriented program and im using NetBeans IDE.
Nemesis-Carl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-08-2008, 07:08 PM   #4
 
foXtrot's Avatar
 
Join Date: Jul 2005
Location: Electro World
Posts: 2,559
Trader Feedback: 0
Default

Quote:
Originally Posted by Nemesis-Carl
Yeah it is an object oriented program and im using NetBeans IDE.
What do you need help with exactly? Like how far have you gone, what's working, what isn't? I'm not going to do it for you.
__________________
I R homaki on [URL=http://forums.**********.net/]M4M[/URL] i.e. im not on QJ for anything anymore.
foXtrot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-08-2008, 07:24 PM   #5
 
Nemesis-Carl's Avatar
 
Join Date: Oct 2005
Location: Mexico
Posts: 144
Trader Feedback: 0
Default

Quote:
Originally Posted by foXtrot
What do you need help with exactly? Like how far have you gone, what's working, what isn't? I'm not going to do it for you.
Well actualy i dont have anything
I have one class that is the cards, one main (that actualy its empty), and other one that is the JFrame.

In the Card class i should have all the properties for the cards, in this case i need 18 diferent cards with their respective images

Then in the JFrame i should see those cards i create but i dont get it to show!

*I need also the class that controls the game, that is... to calculate number of good and wrong answers, the cycle that keeps the game running and (im not shure) the control of the cards in the JFrame (if its a match or not, and if its a match to disapear)
Nemesis-Carl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2008, 07:22 PM   #6
 
Nemesis-Carl's Avatar
 
Join Date: Oct 2005
Location: Mexico
Posts: 144
Trader Feedback: 0
Default

Help anyone!?
Nemesis-Carl is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-2008, 03:36 PM   #7
 
FreePlay's Avatar
 
Join Date: Dec 2005
Location: h0000000rj
Posts: 12,858
Trader Feedback: 0
Default

You *have* put a panel on the frame, right?
__________________
[qj now fails.]
FreePlay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
basic , java , programing

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 06:30 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us