A Theoretical and Empirical Approach in Assessing Motivational Factors: From Serious Games To an ITS