Applying gaming principles to curriculum can promote student understanding and engagement through gamification and game-based learning