+ if (txt.startsWith("It is")) {
+ this.cards.turn = txt.replaceAll("It is (\\w+)'s (\\w+)!.*", "$1");
+ this.cards.state = txt.replaceAll("It is (\\w+)'s (\\w+)!.*", "$2");
+ this.cards.requestRender();
+ }
+ if (txt.startsWith("it is your") && msg.to != "") {
+ this.cards.turn = msg.to;
+ this.cards.state = txt.replaceAll("it is your (\\w+)!", "$1");
+ this.cards.requestRender();
+ }