Best way to make a 'Top Trumps' game

I’m looking to create a top trumps game, but do not have much knowledge on where to start.

I’ve a couple of years programming experience in Java, both creating programs via BlueJ and creating GUIs with Netbeans. I’ve a basic knowledge of applets as well.

Basically the intent of the game is the regular trumps game, such that the user is presented with a card, they select one of the attributes, the opposing player’s card is then turned over, and depending on whether they have won or not, the card is added to the relevant player’s pile.

What would be the best way to do this?

since it’s turn based game using swing should do. I’ll briefly explain the way you use swing… basicly you use swing components such as JPanel or JButton and override thier paintComponent(). That way you can make them look whatever you want them … draw images, Java2D shapes, and other components in them. Actions would still be handled by mouse listener and you would change screens by drawing different components on some event.
To warn you, I never did a turn based game, only a game menu in my game :slight_smile: … so there could be better ways of doing turn based game.

usefull link: painting in swing