I know this is an old thread but thought I’d jump in anyway since no one mentioned an important point.. If you can’t beat them, RUN.
You’re severely out numbered and from the sound of it outgunned. Unless you’re Chuck Norris or an uber-sniper than can put a .22 in five different rushing eye sockets at a few yards and closing, it’s a losing battle. I’d choose the .22 to buy as much time needed to get the hell out of dodge.
If there’s no means for escape and you have to fight outgunned, there are many possible courses of action to take depending on the immediate threat and the way the scenario plays out.
In the Army if you’ve found yourself in a setup ambush, you’re objective is to get out of there as soon and safely as possible because you’re at a tactical/environmental disadvantage. If you can’t immediately get out, hunker down to hold off attack and call/hope the cavalry comes. Fighting out of a “decently†planned ambush is usually costly. It goes without saying that it’s always best to spot and avoid an ambush by maintaining situational awareness of your surroundings. Sorry I didn't have a fun answer