Tracking Learning in a Computer Role Play Game: A Framework for Game Design