Then the enemy formation appeared, and Ender's weariness turned to desperation.

The enemy outnumbered them a thousand to one, the simulator glowed green with them, and Ender knew that he couldn't win.

And the enemy was not stupid. There was no formation that Ender could study and attack. Instead the vast swarms of ships were constantly moving, constantly shifting from one momentary formation to another, so that a space that for one moment was empty was immediately filled with a formidable enemy force. And even though Ender's fleet was the largest he had ever had, there was no place he could deploy it where he would outnumber the enemy long enough to accomplish anything.

And behind the enemy was the planet. The planet, which Mazer had warned him about. What difference did a planet make, when Ender couldn't hope to get near it? Ender waited, waited for the flash of insight that would tell him what to do, how to destroy the enemy. And as he waited, he heard the observers behind him begin to shift in their seats, wondering what Ender was doing, what plan he would follow. And finally it was obvious to everyone that Ender didn't know what to do, that there was nothing to do, and a few of the men at the back of the room made quiet little sounds in their throats.

Then Ender heard Bean's voice in his ear. Bean chuckled and said, "Remember, the enemy's gate is down." A few of the other toon leaders laughed, and Ender thought back to the simple games he had played and won in Battle School. They had put him against hopeless odds there, too. And he had beaten them. And he'd be damned if he'd let Mazer Rackham beat him with a cheap trick like outnumbering him a thousand to one. He had won a game in Battle School by going for something the enemy didn't expect, something against the rules—he had won by going against the enemy's gate.

And the enemy's gate was down.

Ender smiled, and realized that if he broke this rule they'd probably kick him out of school, and that way he'd win for sure. He would never have to play a game again.

He whispered into the microphone. His six commanders each took a part of the fleet and launched themselves against the enemy. They pursued erratic courses, darting off in one direction and then another. The enemy immediately stopped his aimless maneuvering and began to group around Ender's six fleets.

Ender took off his microphone, leaned back in his chair, and watched. The observers murmured out loud, now. Ender was doing nothing—he had thrown the game away.

But a pattern began to emerge from the quick confrontations with the enemy. Ender's six groups lost ships constantly as they brushed with each enemy force—but they never stopped for a fight, even when for a moment they could have won a small tactical victory. Instead they continued on their erratic course that led, eventually, down. Toward the enemy planet.

And because of their seemingly random course the enemy didn't realize it until the same time that the observers did. By then it was too late, just as it had been too late for William Bee to stop Ender's soldiers from activating the gate. More of Ender's ships could be hit and destroyed, so that of the six fleets only two were able to get to the planet, and those were decimated. But those tiny groups did get through, and they opened fire on the planet.

Ender leaned forward now, anxious to see if his guess would pay off. He half expected a buzzer to sound and the game to be stopped, because he had broken the rule. But he was betting on the accuracy of the simulator. If it could simulate a planet, it could simulate what would happen to a planet under attack.

It did.

The weapons that blew up little ships didn't blow up the entire planet at first. But they did cause terrible explosions. And on the planet there was no space to dissipate the chain reaction. On the planet the chain reaction found more and more fuel to feed it.

The planet's surface seemed to be moving back and forth, but soon the surface gave way to an immense explosion that sent light flashing in all directions. It swallowed up Ender's entire fleet. And then it reached the enemy ships.

The first simply vanished in the explosion. Then, as the explosion spread and became less bright, it was clear what happened to each ship. As the light reached them they flashed brightly for a moment and disappeared. They were all fuel for the fire of the planet.

It took more than three minutes for the explosion to reach the limits of the simulator, and by then it was much fainter. All the ships were gone, and if any had escaped before the explosion reached them, they were few and not worth worrying about. Where the planet had been there was nothing.

The simulator was empty.

Ender had destroyed the enemy by sacrificing his entire fleet and breaking the rule against destroying the enemy planet. He wasn't sure whether to feel triumphant at his victory or defiant at the rebuke he was certain would come. So instead he felt nothing. He was tired. He wanted to go to bed and sleep.

He switched off the simulator, and finally heard the noise behind him.

There were no longer two rows of dignified military observers. Instead there was chaos. Some of them were slapping each other on the back, some of them were bowed, head in hands, others were openly weeping. Captain Graff detached himself from the group and came to Ender. Tears streamed down his face, but he was smiling. He reached out his arms, and to Ender's surprise he embraced the boy, held him tightly, and whispered, "Thank you, thank you, thank you, Ender."

Soon all the observers were gathered around the bewildered child, thanking him and cheering him and patting him on the shoulder and shaking his hand. Ender tried to make sense of what they were saying. Had he passed the test after all? Why did it matter so much to them?

Then the crowd parted and Mazer Rackham walked through. He came straight up to Ender Wiggin and held out his hand.

"You made the hard choice, boy. But heaven knows there was no other way you could have done it.

Congratulations. You beat them, and it's all over."

All over. Beat them. "I beat you, Mazer Rackham."

Mazer laughed, a loud laugh that filled the room. "Ender Wiggin, you never played me. You never played a game since I was your teacher."

Ender didn't get the joke. He had played a great many games, at a terrible cost to himself. He began to get angry.

Mazer reached out and touched his shoulder. Ender shrugged him off. Mazer then grew serious and said, "Ender Wiggin for the last months you have been the commander of our fleets. There were no games. The battles were real. Your only enemy was the enemy. You won every battle. And finally today you fought them at their home world, and you destroyed their world, their fleet, you destroyed them completely, and they'll never come against us again. You did it. You."

Real. Not a game. Ender's mind was too tired to cope with it all. He walked away from Mazer, walked silently through the crowd that still whispered thanks and congratulations to the boy, walked out of the simulator room and finally arrived in his bedroom and closed the door.

He was asleep when Graff and Mazer Rackham found him. They came in quietly and roused him. He awoke slowly, and when he recognized them he turned away to go back to sleep.

"Ender," Graff said. "We need to talk to you."

Ender rolled back to face them. He said nothing.

Graff smiled. "It was a shock to you yesterday, I know. But it must make you feel good to know you won the war."

Ender nodded slowly.

"Mazer Rackham here, he never played against you. He only analyzed your battles to find out your weak spots, to help you improve. It worked, didn't it?"

Ender closed his eyes tightly. They waited. He said, "Why didn't you tell me?"

Mazer smiled. "A hundred years ago, Ender, we found out some things. That when a commander's life is in danger he becomes afraid, and fear slows down his thinking. When a commander knows that he's killing people, he becomes cautious or insane, and neither of those help him do well. And when he's mature, when he has responsibilities and an understanding of the world, he becomes cautious and sluggish and can't do his job. So we trained children, who didn't know anything but the game, and never knew when it would become real. That was the theory, and you proved that the theory worked."