a study case of python game