Basic logic for playing cards: doesn't check if the move would be legal in terms of game logic but checks simple things.