Will a white blood cell attacking a converted rac1 protein cell kill it? Will the village win if all initial cancer cells are dead regardless of rac1 conversions?
Will a white blood cell attacking a converted rac1 protein cell kill it? Will the village win if all initial cancer cells are dead regardless of rac1 conversions?
one role in some phallas is referred to as the "cultist" role, where the faction (usually very small to begin with), can choose each night to convert one player to their side. The player's win condition then changes, and they turn against the village.
It's hard to balance and get right, but it's a pretty fun mechanic.
Usually, it is a separate faction from the mafia but who knows it could be a mafia power in this game.
We need to kill off all the mafias without revealing the rac1 cells and without biasing the result or doubling up white cells. There needs to be a verifiable, yet opaque and fair way of assigning targets
Construct the string <day>_<lowercase name>_<n>_<key>
day is 1, 2, 3, 4, 5 ...
lowercase name is obvious
n is 0, 1, 2, 3, ... as needed. start with 0 each day
key is some simple string (ie, pick a plain english word, lets say 4 letters or less). Keep it secret until you want to reveal your target sequence
Calculate the SHA-1 hash here of your string
Take the total number of players alive. Then round up, if needed, to the next prime number (the primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31).
Go here
Number a type: hexadecimal
Number a value: your SHA-1 string
Number b type: decimal
Number b value: the prime from above
Calculation equation: mod(a,b)
Hit calculate and you should get a number from 0 to one less than the prime
The output is the index of the person you attack, with 0 being the first person. Obviously, skip dead people in figuring out who your target is. If that happens to be you or someone you have personally attacked or is greater than or equal to the number of living players, increment n and try again. n should really never get above 2 or 3.
To confirm your targets, reveal your key.
This
- hides the attackers, so the mafia can't know who was supposed to attack them, thus they can't reverse it to find the rac1 proteins who aren't attacking
- allows verification of attack sequence. Sure you can look for another key that will provide an acceptable target sequence, but there's not a whole lot I can do about that and it gets tricky quickly because you have to avoid collisions now and in the future
- should, with good probability, let the number of targets be maximized and randomized
- should, with good probability, put a white blood cell on everyone in a small number of days
- will also place attacks with equal probability on potentially converted villagers
If you are a white blood cell and you die attacking a mafia, when you revive, reveal & re-attack that same mafia until he's permadead.
Sample with my key word being "test":
1_phyphor_0_test
f28abe6360077c5d89db2b8ea0686ca877c507fe % 31 = 30, which is >= # of players, so recalc with n = 1
1_phyphor_1_test
28d1261ab77dd6a4e6e269d88868ac2bc37cc765 % 31 = 28, which means I would attack Shabooty
(yes, technically SHA mod small prime is not a great distribution, but there's no custom seedable PRNGs online)
Nah. So long as most of the village are white blood cells and white blood cells can kill mafia but not village it holds. The mafia can't block attacks because they have no idea who is attacking who (a very, very important property given the constraints of the game). Nor will a one time shield work because attacks will continue to show up, randomly. The way to break it is to require two white blood cells to simultaneously attack a mafia to kill the mafia
Posts
Edit: and what was the longest phalla ever?
Henri Emmanuel Gratien St Pierre in Where No Man Has Gone Before
Lord Augustus Cumberbatch in Eclipse Phase
Is there a flaw in this plan...
TylerJ on League of Legends (it's free and fun!)
Not really. There may be a better attack sequence though, I'll think about it
I now want this phalla to end on day 1 so we can get that much closer to the Dawn of the First Day.
Twitch Stream
Orange and bold because this is kind of an important question.
Twitch Stream
The timing of this game will not affect Majora's phalla, which will likely be sometime in May or later, depending on other ready games.
I'll update the role PM to try and be more clear, but yes, you only die if you attack a cancer cell.
That latter will always be true, so you might as well.
We are now only 2 away! Ha. Cool. Feeling the love Mr. T?
A: No, no, Rac1 proteins may be converted
I'll admit I am very surprised (and pleased) at how quickly this got rolling. Though it's probably just because the main is wrapping up
If we hit 30 soon, I may have the first deadline be tomorrow unless there are people signed up that wouldn't have if we started earlier.
Edit: so please speak up (either here or via PM) if you would oppose an early start.
Yes. No.
one role in some phallas is referred to as the "cultist" role, where the faction (usually very small to begin with), can choose each night to convert one player to their side. The player's win condition then changes, and they turn against the village.
It's hard to balance and get right, but it's a pretty fun mechanic.
Usually, it is a separate faction from the mafia but who knows it could be a mafia power in this game.
Yes.
Mafia
White cells
Rac1
We need to kill off all the mafias without revealing the rac1 cells and without biasing the result or doubling up white cells. There needs to be a verifiable, yet opaque and fair way of assigning targets
Construct the string <day>_<lowercase name>_<n>_<key>
day is 1, 2, 3, 4, 5 ...
lowercase name is obvious
n is 0, 1, 2, 3, ... as needed. start with 0 each day
key is some simple string (ie, pick a plain english word, lets say 4 letters or less). Keep it secret until you want to reveal your target sequence
Calculate the SHA-1 hash here of your string
Take the total number of players alive. Then round up, if needed, to the next prime number (the primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31).
Go here
Number a type: hexadecimal
Number a value: your SHA-1 string
Number b type: decimal
Number b value: the prime from above
Calculation equation: mod(a,b)
Hit calculate and you should get a number from 0 to one less than the prime
The output is the index of the person you attack, with 0 being the first person. Obviously, skip dead people in figuring out who your target is. If that happens to be you or someone you have personally attacked or is greater than or equal to the number of living players, increment n and try again. n should really never get above 2 or 3.
To confirm your targets, reveal your key.
This
- hides the attackers, so the mafia can't know who was supposed to attack them, thus they can't reverse it to find the rac1 proteins who aren't attacking
- allows verification of attack sequence. Sure you can look for another key that will provide an acceptable target sequence, but there's not a whole lot I can do about that and it gets tricky quickly because you have to avoid collisions now and in the future
- should, with good probability, let the number of targets be maximized and randomized
- should, with good probability, put a white blood cell on everyone in a small number of days
- will also place attacks with equal probability on potentially converted villagers
If you are a white blood cell and you die attacking a mafia, when you revive, reveal & re-attack that same mafia until he's permadead.
Sample with my key word being "test":
1_phyphor_0_test
f28abe6360077c5d89db2b8ea0686ca877c507fe % 31 = 30, which is >= # of players, so recalc with n = 1
1_phyphor_1_test
28d1261ab77dd6a4e6e269d88868ac2bc37cc765 % 31 = 28, which means I would attack Shabooty
(yes, technically SHA mod small prime is not a great distribution, but there's no custom seedable PRNGs online)
Knowing the above, MrT just needs to make special abilities that specifically break random village targeting.
I've already thought of this. This isn't my first rodeo.