You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be difficult as all cards interact with each other differently, but yeah it would be nice if we had a framework for testing as much as possible. Just don't think it's worth investing the limited time and resources we have into that rather than spending it on adding as many new cards as possible.
What I think would be a nice quick win in regards to testing is to make it easier to manually test cards as you're developing them. Currently whenever you make a change you have to create a new match with two accounts and start adding mana to summon your card etc in order to test it. Would be neat if we could restore the state of a match immediately between application restarts.
I took a look at the code and currently, everything about a match is just broadcast to the players and the spectators. Nothing about the duel is stored in mongo. To restore the state of a match, we would need to store all the actions the players take and then restore it with the corresponding duel id when the server restarts.
Is there a way we can add automated tests? That might help with testing cards and their abilities as they get more complex.
The text was updated successfully, but these errors were encountered: