Networked card game coded in Python