added css for cards, pushed game logic to server