I don't know the answer to that question, but Card was an editor for Compute! books for nine months[1](video interview), and in that role wrote a two-part series about computer game development 40 years ago, in issues 38[2] and 39[3] of Compute! magazine.
I'm convinced he's dabbled in programming, even though it's not his vocation.