Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't allow conflicting card packs #138

Open
grifferz opened this issue Apr 15, 2015 · 0 comments
Open

Don't allow conflicting card packs #138

grifferz opened this issue Apr 15, 2015 · 0 comments

Comments

@grifferz
Copy link
Owner

Now that we have some card packs that are mutually exclusive (cah_us conflicts with cah_uk, cah_us_uk conflicts with cah_us) there should perhaps be some way for the pack maintainer to specify this, to prevent accidents.

We could add a Conflicts header:

Description:    Cards Against Humanity (US \ UK)
Conflicts:
    - cah_us (Already contains US cards)

And then refuse to load any deck that contained conflicts, before messing with the database.

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

No branches or pull requests

1 participant