Using this web application, you can test out interactions between abilities in the layer system of the card game Magic: the Gathering. It should also handle timestamps and dependencies correctly.
https://soothsilver.github.io/ContinuousEffectsSandbox/
Send me a message, raise an issue or contribute a pull request. I'll be happy for any of those.