Code for my open-source card game