Itangalo / Bot-Playtesting-Toolkit

A toolkit for simulating board games with Google spreadsheets. Intended use is board game development.
GNU General Public License v3.0
9 stars 1 forks source link

Allow things like "<" and ">=" in ObjectFilter? #66

Closed Itangalo closed 2 years ago

Itangalo commented 2 years ago

The ObjectFilter class (#64) could be more useful if more operators were allowed, such as "<" and "=>".

Itangalo commented 2 years ago

After think about this for a while I can conclude that this is actually a biggie.

The current ObjectFilter contains = and != operators, and OR and AND. They are explicitly used in the four possible combinations – adding more operators would require rewriting how this works. Probably worth doing, but perhaps not for version 1.2.

Itangalo commented 2 years ago

The idea right now:

Itangalo commented 2 years ago

Implemented. Documentation left to do.

Itangalo commented 2 years ago

Documentation done. Ready for release to 1.3.