Russian bank is a double solitaire game. I can't imagine how to play that from the console.
Which cards in which pile to move to which pile.
It's a close call on which would be harder to code:...
Type: Posts; User: Norm
Russian bank is a double solitaire game. I can't imagine how to play that from the console.
Which cards in which pile to move to which pile.
It's a close call on which would be harder to code:...
An interface is not for reusing classes. It is for adding a "type" to a class so an instance of the class can be passed to a method that requires an object of a certain type. A common example is the...
The Card class should take care of the jpg it uses. I could be passed in the constructor.
I used to know how to play Russian bank. I played it with my aunt years ago.
Perhaps a custom component where you can draw the parts of the cards that are showing as they are overlapped. There is...
I guess you should look at the layout managers for how to layout your card positions.
Would a grid layout work?
Then maybe labels or buttons to hold the card images.
Sorry, what tools? Java, Swing ???
To answer my questions
The cards do not overlap, they go in fixed positions and any card can be clicked on.
The project sounds like it needs a lot of fancy GUI. Its hard to recommend anything without knowning more about the mechanics of play.
Can face up cards be partially overlain or will they always...