except for combinatorics mafia
i will have to add more optimizations and put it in C :pensive_cat:
one time I was working with txt files as storage because my cloud hosting thing didnt allow hard storage or databases without paying money (evil) (also I was stupid at this time but thats unrelated) and the best most memory efficient way to select a random line from the file was in python and I had to port it over to go
This resonates with me on a personal level.
- it is rounding after all. what does 8.5 do however? uhhh lets say 8.5 does not matter and I do not care
8.5 goes to 8, I think.
one time i was working with .csv files as storage because i was dumb and didnāt realize i should just use jsons (this is in terminal of lies and now itās painful to change so it will just be there)
so like what is combinatorics mafia if you ahve to optimise it and put it in C im intrigued
8.5 rounding up for closest is just as weird as rounding down. I dont think its very important
actual life goal
COMBINATORICS MAFIA!!! itās the setup May is hosting soon
i would like to find a strategy that optimizes the worst case number of guesses*, and how many guesses this strategy requires
*Iām imagining it as a singleplayer game where itās just town guessing mafia, rather than two sides actually competing, as itās way simpler that way
we went from lesbian trophy wife to math in the span of MINUTES run for ur life
I need to take a look at this once I get out of class.
Just finished my mandarin exam
I fucked that last question
oh god mafia theory? youāre doing mafia theory
good luck when I tried to simulate for town of salem massclaiming i went insane
AAAAAAAAAAAAAAAAAAAAAAAAAAAA

btw
if you are a man, and you are wearing fingerless gloves out in public
i need you to seek therapy
i love mafia theory
though i usually stick to setups without claiming because it makes the EV functions really easy to write
def jailEV(town, mafia):
if mafia == 1:
return 0
if town <= mafia:
return 1
townLimChance = town / (town + mafia)
mafiaLimChance = 1 - townLimChance
return townLimChance * jailEV(town - 1, mafia) + mafiaLimChance * jailEV(town - 1, mafia - 1)
jailEV(8, 3)
nya nya nya 
specialising in semi opens was the worst mistake of my life. I only calcād based off subalignments and not roles, but even then man it was evil. maybe my brain was just too small then
