utility module for creating team based card games