Power-Shuffle Program

Meta - Subreddit

I made a thing! It's a program that, once you run it, automatically shuffles all the known powers that existed prior to Gold Morning.

Unfortunately, the site I used, while making it very easy to share the code, doesn't allow you to copy-paste the output, so if you want to do that, you're first going to have to copy-paste the code from there into this site.

I won't go too deep into how the code works, but it will automatically prevent any cape from getting a power that's already been assigned. Apparently, capes sometimes get their own power, but I'm not sure how to change that at this time.

The list contains 326 'capes', many of whom you'll probably want to remove for your own shuffle -- I was specifically going for inclusivity. I marked out the ones that you might want to remove in the notes; there's Scion and the Endbringers who you might want to remove for obvious reasons, there are people like Lookout and Lord of Loss who first appeared in Ward but are confirmed to have Triggered prior to Gold Morning, there are capes from the pseudo-canonical PRT Quest who didn't appear in Worm themselves, there are the Travelers who might not even exist in a world without Endbringers, etc.

I also included notes on who buds who -- 2nd-gen capes were not included to be shuffled. This at times used a bit of headcanon -- I'm pretty sure it doesn't say anywhere if Brandish budded Lightstar who budded Flashbang and Fleur, but the powers were similar enough that it made sense to me that that's how it would play out. If you disagree, there are notes like I said, so it should be pretty easy to change the list to your liking.

If you want a more 'pure' Worm experience, with all the capes that didn't directly appear or at least get mentioned in Worm already removed, leaving 'only' 277 capes, you can check out this link.

If you're aware of some capes I missed or some minor detail I got wrong, please let me know so I can edit the code to reflect that.

If you're interested, give it a try and see what comes out! I would love to hear interesting results in the comments!

This program was inspired by Some Achieve Greatness! It's a power-shuffle AU where Brockton Bay is the Tinker capital of the world, and even though it only has three chapters so far, it already has a lot of interesting world-building to it. (The author did the shuffling manually, so quite a few parts of the process are different than they are in the program I wrote, but without this fic, I wouldn't have written the program in the first place.) Check it out!

Program last updated: 5/30/21

Posted May 13, 2021, 4:17 AM UTC · edited

9146
MagpieInBlack•

Dragon has The Number Man's power

Cool, that works

Andrew Richter has Leet's power

...or maybe not

The Simurgh has Butcher I's power

EVACUATE THE UNIVERSE!!

42
bms111•

I mean arguably the Simurgh having the Butcher power is an excellent option for the world. She is an EB. They can hardly be killed. So no transfer of voices.

25
MagpieInBlack•

She is an EB.

Exactly. I'm sure she'd figure out a way to make the power even more terrifying.


A slightly weaker body than the other Endbringers. Do enough damage and she seemingly disappears in a flash of light... But then, a few weeks or months later, one of your heroes suddenly starts changing.

53
LangyMD•

This. I like this. I like this a lot.

21
bladedoodle•

See THAT is more threatening than ‘someone Could be a walk-in time bomb through subtlety’ and instead ‘we killed her. Again. Quarantine is in effect. God help us.’

11
AacornSoup•

In other words, Lucius The Eternal!Simurgh?

3
BobVosh•

The original butcher had pain vision, iirc. Like super strong, sucide out of it levels.

10

Vista got grey boy on my first spin, and that kind of makes sense, high level young shakers.

26
Trustworth•

Giving Vista—the Ward desperate to finish growing up so she'll be taken seriously—a power that forces her to remain physically unaging from her trigger event onwards, seems appropriately dickish for a wormfic.

21
BobVosh•

Seems like a power that just can't be used heroically.

14
GeeJo•

Grey Boys power was always active on himself, giving him an effective Brute rating as he reset any damage. Basically Alabaster, which would work fine as a heroic power. The bubbles also did not have to have someone inside them, so they'd work as area denial or bomb disposal. And Clockblocker demonstrated that Endbringers arent immune to temporal effects, so there's a case for offensive use of the power.

21
bladedoodle•

GB’s power is really, REALLY too good.

Trigger with time bubbles and basically time reset to keep you young, healthy and enable hyper reaction times.

7
Action_Bronzong•

so they'd work as area denial

"I mean, yeah, it sucks that this section of downtown is now permanently unusable for the remainder of time itself, but..."

7
GrizzlyTrees•

Cool thing. I took it for a spin, and Valefor got nice guy's power, so he wouldn't have to change much.

22
Devadv12014•
  Perdition has scion’s power.
  Eidolon has dragons power
  Skitter has king’s power.
13
Devadv12014•

Another one I got had Butcher 3 with contessa's power. I wonder how ptv would work as a butcher side power

6
Kingsonne•

Most interesting thing I got was Simurgh with Mantellum's power. How do you fight an unpredictable power nullifying endbringer?

The other interesting thing is that the only tinkers in BB are Kid Win with Dragon's power and Shadow Stalker with Lab Rats power. A lot of pressure probably on Kid Win to figure out other Tinker's stuff that is sent to him but with only SS close by for easy access there is a lot of question as to what he'd actually end up building.

8
Lightwavers•

I like this idea. Do you mind if I write a program like this, but with a bit more functionality?

7
Low_HourOP•

Not at all! I'm a bit of a novice at programming, so anyone more knowledgeable is welcome to take a whack at it!

What did you have in mind?

4
Lightwavers•

Thanks, I intend to have the list of names paired with a list of powers as short sentences instead of simply putting names next to each other, which is a good idea but can be annoying if you don’t recognize a name. Perhaps I’ll add links to the characters’ wiki pages, but that’s more tentative. I’d also like for people to be able to put in more people and powers, or remove some from the list as they choose. Also the basic stuff, like allowing or disallowing results where a character ends up with the same power they had, or having it so they can prevent Endbringers from power swapping with capes.

5
Low_HourOP•

That all makes sense. Would have loved to pair the names with a list of powers, but I wasn't really sure how, except maybe as an if-then statement: "If outputting 'Coil's power', output 'Coil's power: simulating an alternate timeline'", which I wasn't even sure would work.

For editing the program, I just figured they could fork it and make it their own.

2
Lightwavers•

Ah, I see, yes listing the name of the original owner of the power is a very good idea, thanks for suggesting that. And yeah, anyone could fork the program, but I'd like to make it all feel very user friendly. I have this domain I'm not using, so I thought I might as well make a website for it.

2
19UNIQX•

Lol One got One's power and Dragon has Clockblocker's power... not sure how that would work but good luck Dragon!

This is pretty cool though so thanks for making it.

7
Geronimo0511•

Victor has Triumph's power

Othala has Glaistig Uaine's power

Rune has Heartbreaker's power

One of these things doesn't belong

Moord Nag has Leviathan's power

Sorry sub-Saharan Africa, no breaks for you

Sundancer has Damsel of Distress's power

That's just cruel

Leviathan has Sleeper's power

Everyone off the planet

Edit: Just did another go but edited to only include canon-start Brockton Bay capes, the Protectorate was insane:

Armsmaster has Panacea's power

Assault has Labyrinth's power

Battery has Dauntless's power

Dauntless has Regent's power

Miss Militia has Leet's power

Triumph has Lung's power

Velocity has Krieg's power

6
Blackcoldren•

"Imp has Scion's power"

5
bladedoodle•

‘Here she comes!’

‘Here WHO comes?’

‘My god, was the earth always this desolate and full of craters?’

8
archtctrl•

Nice!

To avoid the issue of people getting their canon power, you can randomise the list, then shift in place.

I've implemented it in python using your list Here for reference.

4
dancing_turtle•

Wouldn't that run a risk of assigning new canon powers that were off by 1 in the original list? I'm assuming shift in place means just shift all assigned powers down the list once, definitely could be wrong.

2
archtctrl•

That is what I mean by shift in place, but you shift against the randomised list, not the original.

If you shifted against the original, then yes, people could end up with their canon power.

5
Low_HourOP•

All right, I think I know how to implement that in C++.

But, and maybe I'm just confused, wouldn't it still be possible to get your own power?

Like, let's say that after the powers have been shuffled around, you shift them each down one spot.

Coil is just above Codex in the list. Now let's say that without shifting, Coil gets Codex's power. But if you implement the shift, wouldn't Codex get her own power?

1
archtctrl•

Think of it this way:

Forget the randomising for a moment. Let's say we have a list of 5 people. Let's list that twice, and link each person to themselves.

Person 1 > Person 1

Person 2 > Person 2

Person 3 > Person 3

Person 4 > Person 4

Person 5 > Person 5

Now let's shift the linked list by one place. Now we have:

Person 1 > Person 2

Person 2 > Person 3

Person 3 > Person 4

Person 4 > Person 5

Person 5 > Person 1

Because each person starts 'linked' to themselves, it's impossible for them to end up linked to themselves after the shift. (Unless you shift by 5 whole places and do a complete circuit, but that's the same as not doing a shift at all)

All I'm doing in addition to this is randomising the list first, BEFORE I do the pairing and shifting, and that's purely to make it a bit more exciting than just shifting an alphabetical list.

Edit: spacing

1
helmsmagus•

copy-pasting seems to work fine for me. There's even a copy output to clipboard button.

2
Low_HourOP•

…didn't even see that

2
enmanuel995•

Can you make the program more accessible to mobile users? Maybe a quick copy-text function?

1
Low_HourOP•

I don't know how I'd do that, but apparently there's a barely visible little clipboard button above the output that copies all of the output

1
ltcvex•

Disclaimer: Haven't done any serious computer work since college so your mileage may vary.

With regard to your problem of cape getting their own power in the random shuffle, I thought it would help to think of this is two separate part. One part is purely mathematics and does not need a computer.

Part one:(no computer needed) Generate all permutation of a given string with the restriction that elements do not appear at their original location. Then select a random string from the result (insuring the selection is truly unbiased)

eg. given "123"

step 1: we generate all permutations resulting in '123' '132' '213' '231' '312' '321'

step 2: Apply the restriction. 

first element is '1' in the first position. We eliminate all strings with '1' in the first position. we get '213' '231' '312' '321'

second element is '2' in the second position. We eliminate all strings with '2' in the second position .'213' '231' '312'

third element is '3' in the third position. We eliminate all strings with '3' in the third position . '231' '312'

result : We get '231' '312' after applying the restriction.

Step 3: random select one out of the filtered result.
eg '231' '312' = random selection 231(50%), 312 (50%)

Part two: Translate and optimize this algorithm for a computer. Put various mappings (i.e "123" with "Coil Skitter Dragon" etc)

Review pros and cons: 1:Guarantees power is not assigned to original owner 2: Guarantees that random selection of the valid combination is truly unbiased (within the restriction of computer generated pseudo random generator) 3: Quite fast as problem is converted into a numerical problem, for which computers are excellent at doing fast work.

cons: too much work for a non-serious work? not sufficiently optimized for any specific computer language.

1
SmoothReverb•

Coil has been assigned Bastard Son

oh fuck

The Simurgh has been assigned Nice Guy

OH FUCK

1