The Tyranids from Warhammer best the Zerg from StarCraft in any sense

So let's break this down. The Tyranid begin their invasion of the first Zerg planet. They send down spores. These spores are immediately detected. The Zerg swarm the area. It is worth mentioning that any form of life that the Zerg make use of have no capacity for brains. That honor is reserved for a small number of organisms in the Swarm. Cerebrates and Queens are the two non unique organisms with this trait. Abathur, Izha, Kerrigan, and Primal Zerg are the others. So for all intents and purposes, the Swarm has no will beyond that found in its leader. Keep in mind, their are many other organisms in this swarm. You have mentioned Zerglings Ifor this debate they are using the Swarmling Strain), Mutalisks, Scourge, and Ultralisks (for this debate they are using the Terrasque Strain). These are but a few of the existing creatures. The ones that I think are especially important for the counter to the Tyranids are as follows: Swarm Host (Tunneling Adaptation), Viper, Lurker, Baneling (Leaper Adaptation), Abberant, Corruptor, Sunken Colony, and Bile Launcher. Also, the Zerg have made use of biomass before. One notable usage was when Abathur remotely triggered the cells in a dead ultralisk and brought it back from the dead without any significant effort. So back to first contact. Zerg have swarmed in, but they don't care what the Tyranid attempt. They slaughter every last one. This gives Abathur the "essence" of the Tyranid creatures. He picks out the most useful strains and begins incorporating them into the swarm. By the time the Tyranid have come back, the Zerg are fully entrenched. If they send down any force, they are immediately countered with a host of banelings (creatures that literally explode into acid upon contact with their target). As for the few that get through next, they are taken by the Primal Zerg, and put as fuel into the Primal Zerg's ever evolving nature. The Tyranid would ramp up their attempts to establish a beach head. This would be countered by the incorporation of Bile Launchers (creatures that launch acid at incredibly high velocity towards airborn targets) and Sunken Colonies (an stationary organism that has a tentacle that it can stick into the ground and, less than a second later, have it come up within a 30ish meter radius with enough force to pop a Terran marine) into the global defense system. The beachhead wouldn't be established. For the sake of argument though, what if it was established? Keep in mind, a defending and entrenched force, at least on this planet we call Earth, can usually take a force 3x as large as itself before it can't survive. In the case of Tyranid invasion, the Zerg would be well ahead. This would lead to a large amount of adaptation occurring. The Tyranid would send better armed and armored units. The Zerg would absorb their essence and incorporate it into the swarm. This would keep happening until the Tyranid started to send in Bio-Titans and Hive Crones out of desperation. The Bio-Titans wouldn't arrive en masse. The beachhead is strained at best. They can't harvest as much biomass as usual because their opponent is also harvesting as much as possible. So what of the couple of Bio-Titans that do get produced. Kerrigan sees to them personally. She is incredibly powerful, so much so that she defeated Zurvan, a Primal Zerg that had lived for six centuries and had grown to the size of a small mountain. After she defeated him, she absorbed his essence. The majority of his power became hers. She could definitely deal with predictable Bio-Titans as they lumber out one at a time. As for the Hive Crones, they die quickly to the Corruptors (air superiority unit capable of taking down a Protoss Mothership [which is about 3x as big as a Hive Crone] in a group of 7). These Hive Crones get picked over by Abathur, and the useful bits become assimilated selectively. Keep in mind, there are a large number of units in the Zerg that I'm not even paying homage to. Whatever the Tyranid pull out can be repulsed quite easily. Finally, we came to the last ditch scenario. This scenario would never occur, but, if it did, this is what would happen. If all else fails, every race in the sector would unite. They did it before in the fight against Amon, they can do it again. The Zerg couldn't launch an offensive on the Tyranid, but they would never lose the fight.