@(player: de.knockoutwhist.player.AbstractPlayer, logic: de.knockoutwhist.control.GameLogic)
@main("Selecting Trumpsuit...") {
@if(player.equals(logic.getCurrentMatch.get.roundlist.last.winner.get)) {
Knockout Whist
You (@player.toString) have won the last round! Select a trumpsuit for the next round!
Available trumpsuits are displayed below:
@util.WebUIUtils.cardtoImage(de.knockoutwhist.cards.Card(de.knockoutwhist.cards.CardValue.Ace, de.knockoutwhist.cards.Suit.Spades))
@util.WebUIUtils.cardtoImage(de.knockoutwhist.cards.Card(de.knockoutwhist.cards.CardValue.Ace, de.knockoutwhist.cards.Suit.Clubs))
@util.WebUIUtils.cardtoImage(de.knockoutwhist.cards.Card(de.knockoutwhist.cards.CardValue.Ace, de.knockoutwhist.cards.Suit.Hearts))
@util.WebUIUtils.cardtoImage(de.knockoutwhist.cards.Card(de.knockoutwhist.cards.CardValue.Ace, de.knockoutwhist.cards.Suit.Diamonds))
Your cards
@for(card <- player.currentHand().get.cards) {
@util.WebUIUtils.cardtoImage(card)
}
} else {
Knockout Whist
@player.toString is choosing a trumpsuit. Starting new round when @player.toString picked a trumpsuit...
}
}