When collecting data with diary for longitudinal studies, non-compliance can result in the missing of data and make it difficult to be analyzed. Thus, we develop an electronic diary system and try to use a social persuasive game to improve the adherence on keeping a diary. The result of the experiment indicate that the game did has the potential to bring positive effect to the diary completion rate.