LiSE
LiSE copied to clipboard
Specify game rules with logic programming
Ceptre is a logic language for game states. It might not be practical to write an entire LiSE ruleset in it--though it might--but in any case, if you've written the actions in Python already, you should be able to express the triggers and prereqs in Ceptre, and have the game follow that.