Presenting a framework that allows integration of automated logging and gaze-tracking into digital games. The framework utilizes a component based approach, the C# language, XNA and the Torque X Engine. it allows researchers to rapidly build stimulus games that are used in psychophysiological experiments and digital games research. Moreover, it allows prototyping of gaze-based interaction and other innovative ways of game interaction.