You are viewing the MafiaScum.net Wiki. To play the game, visit the forum.

Category:Vanilla (Open Setup): Difference between revisions

From MafiaWiki
Jump to navigation Jump to search
(corrected title)
 
(test of collapsing)
Line 36: Line 36:
EV has been calculated up to M {{=}} 1000 (and T > 4000000); a table of values up to 99 Players and up to 10 Mafia can be found [https://forum.mafiascum.net/viewtopic.php?p=8088743#p8088743 here].
EV has been calculated up to M {{=}} 1000 (and T > 4000000); a table of values up to 99 Players and up to 10 Mafia can be found [https://forum.mafiascum.net/viewtopic.php?p=8088743#p8088743 here].


{| class="wikitable"
{| class="wikitable mw-collapsible mw-collapsed"
|-
|-
! T \ M
! T \ M

Revision as of 16:07, 9 April 2018



Vanilla Mafia

Vanilla Mafia (also referred to as Mountainous) is the most basic setup for a Mafia game, with only Mafia Goons and Vanilla Town, along with standard rules (alternating between Day lynches by the Town and Night kills by the Mafia.

Vanilla setups have been run with different player counts, with each count having a different Balance.

EV Calculations

The EV of a Day Start setup with M Goons and T Townies (with total number of players M+T odd) can be calculated as follows:

  • During Day, there are M+T total players. The probability of lynching Mafia is therefore M/(M+T), while the probability of lynching Town is T/(M+T).
  • If Mafia is lynched, then after the Mafia kill a Townie at Night, there will be M-1 Mafia and T-1 Townies remaining for the next day.
  • If Town is lynched, then after the Mafia kill another Townie at Night, there will be M Mafia and T-2 Townies remaining for the next day.

Putting this all together gives the following recursive formula:

EV[M,T] = M/(M+T) * EV[M-1,T-1] + T/(M+T) * EV[M,T-2]

This formula, combined with the fact that EV[0,T] = 1 (Town wins if there are no Mafia left) and EV[M,X] = 0 if M >= X (Mafia wins if they make up half the town), can be used to calculate any specific size and composition of game.

If the total number of players is even, Town should No Lynch - this is because the number of mislynches is unchanged, while the probability of lynching Mafia is increased with one fewer Townie.

EV for Select Setups

The EV calculated in this table is the expected win percentage for Town. To calculate for Mafia, subtract each from 100%.

EV has been calculated up to M = 1000 (and T > 4000000); a table of values up to 99 Players and up to 10 Mafia can be found here.

T \ M 0 1 2 3 4 5
0 N/A 0.00% 0.00% 0.00% 0.00% 0.00%
1 100.00% 0.00% 0.00% 0.00% 0.00% 0.00%
2 100.00% 33.33% 0.00% 0.00% 0.00% 0.00%
3 100.00% 33.33% 13.33% 0.00% 0.00% 0.00%
4 100.00% 46.67% 13.33% 5.71% 0.00% 0.00%
5 100.00% 46.67% 22.86% 5.71% 2.54% 0.00%
6 100.00% 54.29% 22.86% 11.43% 2.54% 1.15%
7 100.00% 54.29% 29.84% 11.43% 5.77% 1.15%
8 100.00% 59.37% 29.84% 16.45% 5.77% 2.93%
9 100.00% 59.37% 35.21% 16.45% 9.06% 2.93%
10 100.00% 63.06% 35.21% 20.78% 9.06% 4.97%
11 100.00% 63.06% 39.49% 20.78% 12.18% 4.97%
12 100.00% 65.90% 39.49% 24.52% 12.18% 7.09%
13 100.00% 65.90% 43.01% 24.52% 15.09% 7.09%
14 100.00% 68.17% 43.01% 27.79% 15.09% 9.20%
15 100.00% 68.17% 45.97% 27.79% 17.76% 9.20%
16 100.00% 70.05% 45.97% 30.66% 17.76% 11.24%
17 100.00% 70.05% 48.51% 30.66% 20.22% 11.24%
18 100.00% 71.62% 48.51% 33.21% 20.22% 13.19%
19 100.00% 71.62% 50.71% 33.21% 22.48% 13.19%
20 100.00% 72.97% 50.71% 35.49% 22.48% 15.05%

Balancing Vanilla Mafia

The number of Townies needed to balance a given number of Mafia, M, grows quadratically with M (specifically, to balance a setup with M Mafia, about 4.1M2 + 2.3M Townies are needed). This means that, from a purely EV standpoint, it is impractical to have any Vanilla setup with more than 3 Mafia.

The counts closest to a 50% EV balance are:

1:4 (46.67%), 2:19 (50.71%), 3:40 (49.97%)

Note that, while in most cases it is expected that Town will outperform their EV for a given setup, for Vanilla Mafia the Town has typically underperformed.

This category currently contains no pages or media.