added ddgame functionality