This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes How to make card game like rummy card game. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "How to make card game like rummy card game." Watch "How to make card game like rummy card game." New topic
Author

How to make card game like rummy card game.

Ganesh Gothi
Greenhorn

Joined: Apr 29, 2012
Posts: 9
I am working on some project , like rummy card game , I want to use java applet for developing this game, and also graphics, panels, label will be used for this. So please tell me what will be the best way that I can developed my application, please give me the way.........please help me I am confused.
I have make one java applet for this card game, but its not working properly that I want, now I want to make applet from scratch, and I am using 104 cards images for play this game, maximum six player will be play this game, card image will be drag and drop and many more so please help me to find out right way.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

Please TellTheDetails
Vague questions like help me, its not working dont really help us help you.

What exactly are you trying to do, what have you tried, and where are you stuck.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ganesh Gothi
Greenhorn

Joined: Apr 29, 2012
Posts: 9
My applet
Please check the above URL, and click play game
I have developed this applet and the full code is:


I have facing many problem.
1) Applet is refreshing when a card image is dragged and move.
2) My drag image from the deck(In middle) is not removing when I am drop this image anywhere.
3) I am not dragging card from its position properly where the card is draw.
So please give me solution of this otherwise please tell me any other way with applet that I can developed error less application, I have may tried to solve the above pointed problem but not solved properly, please help me.........
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

Cross posted at http://www.java-forums.org/java-applets/58956-how-drage-my-card-images-draw-applet-2.html

@Ganesh,
Please read BeForthrightWhenCrossPostingToOtherSites
Ganesh Gothi
Greenhorn

Joined: Apr 29, 2012
Posts: 9
So I cant post here......now
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

Ganesh Gothi wrote:So I cant post here......now

Of course you can. But in case you dont get any answers and are wondering why, the link I provided should help you figure it out.
Ganesh Gothi
Greenhorn

Joined: Apr 29, 2012
Posts: 9
Yes, you have provided the link is my own post but, I have solved those problem, now my new problem is in this post ,,, so please help me.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

No.
The link I was referring to was Please read BeForthrightWhenCrossPostingToOtherSites <=This is a link. Click to read
Ganesh Gothi
Greenhorn

Joined: Apr 29, 2012
Posts: 9
OK I have read the article , now I will post my problem at one forums. ok
So which forum, I can submit my problem, please tell me.
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
> So which forum, I can submit my problem, please tell me.

whichever forum/site you choose, be aware that 470 lines of code is 400+ lines too many.
no-one, at any forum/site is interested in your whole program.

you need to isolate a specific problem by writing a separate program that deals with only that issue,
keeping the code as lean as possible e.g. you have 104 images, if your problem is loading the images,
there is absolutely no need to post code that loads all 104 images - all that is needed is code to load
a single image - if you can get one image loaded, the rest should follow.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10172
    
    8

What Michael is referring to is often also termed SSCCE
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to make card game like rummy card game.
 
Similar Threads
jsp can access java card?
Questions regarding to using applets and JComponents
how to render .gpx file
OO design - event handling
How to drag my last card images witch is draw on applet.