That's also how I interpreted it (based on personal experience).
"Maybe Charles was playing games to occupy his eyes and hands while he was thinking about the problem."
Or he may have been playing games while taking a break from thinking.
Not necessarily. It might show that the other team was either
(1) not smart enough to realize the problem's simplicity, or
(2) deliberately playing the political game of making the problem appear hard because they knew that in the end they'd get more recognition. The lead programmer, Alan, got to have three people working for him, which could have been a step up for him on the corporate ladder. The corporate world is full of this kind of empire-building.
Likewise if anything Charles made it blatant that he was not 'working', he was playing games and scribbling on paper with legs up on the table. Doesn't seem like feinting hard work.
Are you a programmer?