Skip to content

Hokm, Whist, and Forty-One could use refactoring #13

Description

@sunfall

All three of those games use the same copy-and-pasted code for playing cards and evaluating the tricks on the table. Making those "library" functions that all trick-taking games could use (remember to handle no-trump as well, even though Contract Bridge isn't in the game yet) would help drastically reduce code duplication.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cleanupCode cleanup, refactoring, and other tidying.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions