X-Git-Url: http://pileus.org/git/?p=~andy%2Fspades;a=blobdiff_plain;f=src%2Forg%2Fpileus%2Fspades%2FSpades.java;h=17eacfaa99259d8073d799e1a613d831751ebc82;hp=3c023c99b307580cbfbd1d7fa1d53d8d57476475;hb=db1bf55fc47cea610a1f1ae4baa4cecba3685886;hpb=7c538be264da4cdd35827febfe3ed2cd43626963 diff --git a/src/org/pileus/spades/Spades.java b/src/org/pileus/spades/Spades.java index 3c023c9..17eacfa 100644 --- a/src/org/pileus/spades/Spades.java +++ b/src/org/pileus/spades/Spades.java @@ -41,8 +41,8 @@ public class Spades this.cards.hand = Spades.getCards(txt, "You have: (.*)"); this.cards.requestRender(); } - if (txt.matches("turn!")) { - this.cards.pile = Spades.getCards(txt, ".*turn! (.*)"); + if (txt.matches(".*turn!.*")) { + this.cards.pile = Spades.getCards(txt, ".*turn! \\((.*)\\)"); this.cards.requestRender(); } }