if (playedcard == null) {
System.out.println("incorrect card id");
return false;
}
ActionPlayACard action = new ActionPlayACard();
ArrayList<Card> colcards = new ArrayList<Card>();
colcards.add(playedcard);
try {
action
.playerActed(new ActionEvent(game, player, from, to,
colcards));
} catch (ActionException e) {
// there shouldn't be any problem here !
e.printStackTrace();