In reply to pebbles:
This is interesting, from Wikipedia. See Card's second decision, below, for his earlier script
In a 1998 interview, Orson Scott Card discussed the process of adapting the novel into a screenplay. "The first decision I made was not to pursue the Peter/Valentine subplot with the Internet, because that's just watching people type things into the computer. The second decision I made was to give that information about the surprise at the end from the start. In my script we know who Mazer Rackham really is and we know what is at stake as Ender plays his games. But Ender doesn't know, so I think the suspense is actually increased because the audience knows we're about the business of saving the world and that everything depends on this child not understanding that. We care all the more about whether he wins – and we worry that he might not want to. As we watch the adults struggle to get control of Ender, we pity him because of what's happening to him, but we want the adults to succeed. I think it makes for a much more complex and fascinating film than it would have been if I had tried to keep secrets."
Card submitted a screenplay to Warner Bros. in 2003, at which time David Benioff and D. B. Weiss were hired to collaborate a new script in consulation with the then-designated director Wolfgang Petersen. Four years later, Card wrote a new script not based on any previous ones, including his own.]