It is an important step to decrease and put an end to cheating in examination in universities.This paper establishes the gaming model between teachers and students based on the analysis of the causes of cheating.Furthermore,some measures to prevent students from cheating are given.