rallion / depressurizer

GNU General Public License v3.0
784 stars 78 forks source link

Conditional (auto)categorization #11

Open Knopfdruckoffizier opened 9 years ago

Knopfdruckoffizier commented 9 years ago

Option would allow a user to set simple OR/AND/AND NOT conditions based on categories of a game. This would allow the user to set up more useful categories.

Examples: a) Category: Multiplayer only; Condition: Multiplayer AND NOT Singleplayer (means all games that have only the first category and not the second one) b) Category: Indie RPG; Condition: Indie AND RPG (means all games that have both categories) c) Category: Causal/Family; Condition: Causal OR Family (means all games that have one of the two categories)

This should also work with combinations of categories and flags of a specific game.

rallion commented 9 years ago

The way I want to achieve what you're looking for will be a little bit simpler than asking the user to construct a logical condition, but will be able to accomplish things like your examples.

Each custom category would be associated with a set of items (genres or flags). Each item can have four states: ignored, included, required, and excluded. To have the custom category applied, the game must match

So, just to match that up with your particular examples:

a) Multiplayer required (or included); Singleplayer excluded. b) Indie and RPG both required c) Casual and Family both included

Knopfdruckoffizier commented 9 years ago

sounds good that way :+1: