Abstract
This study focused on delineating and utilizing habit loop framework: cueing environment, routine, and satisfaction. This study further integrated the habit loop framework into portfolio management game for helping elementary school students to writing and rewriting in order to cultivate good writing habit. We also proposed two design principles: portfolio visualization and management: portfolio visualization and management. The former supported cueing environment; the latter increased satisfaction; students perform their routines (e.g. writing and rewriting) in a portfolio management game.