added cardgame framework