Another anecdote: instead of doing math homeworks and paying 100% attention to the classes I started to learn programming, because I wanted to make games. I could program stuff at 13, and - thought having bad math grades ever since - learned the material I missed later, in a way that was more/less related to game development or my other needs.