Skip to content

Force shuffled decks to be possible to win #5

@Costava

Description

@Costava

The game would be more fun if it only generated shuffled decks that are possible to win.

The getShuffledDeck method of the Solitaire class is where shuffled decks are generated. Currently, decks are randomly shuffled. It is possible to create an impossible deck.

Any necessary random number generation should come from the existing pseudorandom number generator member srng.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions