map for cards instead of array
When card is flipped, the client state of the board is sent to the
server (which is just printed)