Search:

Type: Posts; User: Norm

Search: Search took 0.26 seconds.

  1. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    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:...
  2. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    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...
  3. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    The Card class should take care of the jpg it uses. I could be passed in the constructor.
  4. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    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...
  5. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    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.
  6. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    Sorry, what tools? Java, Swing ???
  7. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    To answer my questions
    The cards do not overlap, they go in fixed positions and any card can be clicked on.
  8. Replies
    17
    Views
    3,655

    Re: Programming a Card Game (noob questions)

    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...
Results 1 to 8 of 8