My attempt at a generic web-based interface for playing card games