Autism/Aspergers and ADHD are common disorders that are commonly associated with high-functioning programmers. It's an odd phenomenon that pervades the Silicon Valley culture and is almost seen as the mark of the most pure type of programmer.
While I definitely wouldn't say either condition are advantages in any practical way, I do think that they are contributing factors to why these people are able to become so adept at writing code. You have to be a little crazy to spend so many hours writing code and still be able to enjoy it. I suppose then that you could say it's an advantage if your goal is to truly specialize in software engineering.
In any case, these are the two most prevalent mental health concerns that I can think of for probably both programmers and gamers.
RE: Musing Daily Questions 🐮