A python-based card game framework (self-tutorial)