TacticalMetaphysics / LiSE

Rules-based engine for life sims, with time travel
GNU Affero General Public License v3.0
116 stars 9 forks source link

SQL-based history queries #97

Closed clayote closed 1 year ago

clayote commented 2 years ago

Tweaks the prototypical Query visitors so that when you pass them to Engine.turns_when, LiSE generates a SQL query and executes it. This means you no longer need to have the whole history of the game loaded to use these.

Adds sqlalchemy and numpy as hard dependencies.