Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need help for Multiplayer Card Game using RMI  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to design multiplayer card game using Java. Swing for GUI.
Game has some common features of Rummy card game. I am confused about Card GUI.
what are possible ways to make Card object?
i was thinking about ImageIcon but paintIcon() makes problem with actual JFrame.
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello and welcome Sarvya!

It would be easier for us to help you if you TellTheDetails.

Sarvya letbfrndz wrote:I am confused about Card GUI. what are possible ways to make Card object?


Could you show us what you tried so far?

Even if this is a friendly place, I suspect that you real soon will be asked to change your last name to something plausible.
 
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Don't use swing.. It's old and being replaced by JavaFX.

Better yet, use JSF and it's awesome Ajax capabilities.

What is a card?

It has a suit and a value, that's two properties at least.
(Others can be ranking etc..) There's your minimal Object definition.

WP
 
Why is the word "abbreviation" so long? And this ad is so short?
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!