TCP server and client for a set of card games