Z-95 Headhunter.jpg

Content approaching. Unfinished Business–class.

Parts of this article have been identified as no longer being up to date.

Please update the article to reflect recent events, and remove this template when finished.

For other uses, see Rex (disambiguation).

"Here's the algorithm. You're looking for a program using this sequence."
―Captain Rex, to Tech[src]

Rex's battle strategy algorithm was an algorithm that belonged to Clone Captain Rex of the 501st Legion in the Grand Army of the Republic, which he had created to analyze Republic Military strategies for weaknesses and come up with ways to counter them. ARC troopers Fives and Echo were the only other people who knew of the algorithm's existence. However, during the Battle of Anaxes, the Separatist Droid Army was somehow pushing back the Republic forces on all fronts, and Rex theorized that the Separatists had somehow gained access to the algorithm, despite the fact that Echo and Fives had both died and he was the only person who should have known of its existence. Infiltrating the Separatist Cyber Center on Anaxes, Rex and Clone Force 99 member Tech discovered that the algorithm was actually being broadcast live from Skako Minor by a still-alive Echo, who was in the custody of the Separatist-aligned Techno Union. Separatist Admiral Trench had been using the algorithm to gain an advantage over the Republic's forces during the battle.

Description[edit | edit source]

The algorithm was invented by Clone Captain Rex of the 501st Legion, who was one of the most talented officers the Republic Military had during the Clone Wars,[1] to analyze Galactic Republic strategies and develop counters to any discovered weaknesses. ARC troopers CT-5555 "Fives" and CT-1409 "Echo" were the only ones besides Rex who knew of the algorithm's existence.[2]

History[edit | edit source]

Rex developed the algorithm, with only Fives and Echo also aware of its existence, some time before the Battle of Lola Sayu.[1][2] With Echo's apparent death in an explosion during the action on Lola Sayu[3] and Fives' later death on Coruscant after having allegedly gone insane,[4] Rex was seemingly the only person alive who knew of the algorithm's existence.[2] However, Echo had not actually died at the Citadel. Severely injured in the explosion of the Sheathipede-class Type B shuttle he had been attempting to reclaim, he was salvaged by the Separatists, eventually winding up in the hands of the Techno Union.[3][5] He was turned into a cyborg, and the Union extracted information from his brain,[5] allowing them to use him to work out the algorithm.[6] Kept in stasis in a facility in Purkoll on Skako Minor, he was unaware of his surroundings or what was happening to him.[5]

When the campaign for control of the planet Anaxes began, Admiral Trench, in command of the Separatist forces, had the algorithm transmitted from Skako Minor to a Cyber Center constructed on Anaxes' surface,[1] where he could review it from his flagship.[7] Over the course of several weeks, the Republic's hold on the planet began to slip away, with their forces sustaining unusual losses. Captain Rex believed that the Separatists were somehow using his strategies and algorithm, and came to the conclusion that Echo was the only possible way the enemy could have gotten a hold of them, meaning that he might still be alive. He and Clone Commander Cody came forward to Jedi Generals Mace Windu and Anakin Skywalker with the theory that the Separatists had somehow figured out how to counter Rex, but the Captain was loath to admit his idea that Echo was still alive as he thought the Jedi might think he was crazy for suggesting it. Rex and Cody received permission to lead a strike team behind enemy lines to the Cyber Center to find out how they were being countered.[1]

Cody called in Clone Force 99, an irregular unit of clone commandos informally known as the "Bad Batch", to participate in the mission alongside himself, Rex, ARC trooper Jesse and clone medic Kix. When let in on the theory that Echo was still alive, Cody was skeptical. En route, the gunship the strike team was travelling was shot down, leaving Cody severely injured and Rex in charge of the mission, as Kix stayed behind with Cody to wait for an evac. Upon breaching the Cyber Center in a two-pronged attack, Tech of the Bad Batch accessed the center's computers and found that the algorithm was a live transmission instead of a stored program. Digging deeper, Tech found a transmission of Echo's voice, and when Rex asked for the voice's identity, the response was Echo's identification number, CT-1409, proving he was alive.[1]

The discovery led Rex, Skywalker and the Bad Batch to launch an unsanctioned mission to Skako Minor to rescue Echo from the Techno Union. Despite heavy resistance from battle droids, and Trench having warned Wat Tambor that the infiltration was likely, the strike team was able to get to Echo and release him from the stasis chamber.[5] After Tambor's battle droids failed to recapture Echo, Tambor decided to hold off on informing the Separatist military of the loss as he wanted to find a way to recoup the lost profits that the ARC trooper's escape represented.[8]

Behind the scenes[edit | edit source]

"As you know, I've studied our battle lines for some time. I developed an algorithm to counter all our tactical tendencies, with the hope we could use it to shore up our weaknesses. Since this battle for Anaxes started, the Separatists have always been one step ahead of us. If I'm right, Admiral Trench has my algorithm, and he's using it to predict our strategies. It's just… I don't know how he got it. My data files are heavily encrypted."
―Rex, in the original version of "The Bad Batch"[src]

Within the story reel version of "The Bad Batch", Rex stated he made the algorithm to counter the Grand Army of the Republic's tactical tendencies.[9]

Appearances[edit | edit source]

Sources[edit | edit source]

Notes and references[edit | edit source]

In other languages
Community content is available under CC-BY-SA unless otherwise noted.