Mini Theme 2164: Betrayal Mafia I - Mafia PT

Forum for old private topics
Forum rules
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #225 (ISO) » Wed Oct 14, 2020 6:21 am

Post by Albert B. Rampage »

basically I roll 4 dices:

0, 1, 2
0, 1, 2
0, 1, 2
0, 1, 2

can we crunch some numbers for stats to find out my % to kill a 3-3 player and a 3-2 player?
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #226 (ISO) » Wed Oct 14, 2020 7:27 am

Post by I Keep Siteflaking »

Yes.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #227 (ISO) » Wed Oct 14, 2020 7:28 am

Post by I Keep Siteflaking »

You can try using this:
In post 109, I Keep Siteflaking wrote:Instructions:
Spoiler:
1) go to this: https://www.programiz.com/python-progra ... -compiler/
2) delete these 3 lines on the left half of screen
3) copy there my code
4) click run
5) enter data to the right right half of the screen
note: If it bugs in input, just run it again
note2: When Albert attacks Gamma. I think the probabilities are correct, I checked few numbers and it seems to correct.

Code:
Spoiler:

Code: Select all

def chanceToRoll (number, rolls):
  if number < 0 or number > rolls*2:
    return 0
  if rolls == 1:
    return 1/3
  return (chanceToRoll(number, rolls-1) + chanceToRoll(number - 1, rolls-1) + chanceToRoll(number - 2, rolls-1)) / 3

mode = int(input("If you wish to activate lab, enter 0. If you wish to attack, enter 1: "))
if mode == 0:
  myStat = int(input("Enter your knowlege: "))
  activationCost = int(input("Enter how many knowledge to activate the lab: "))
  result = 0
  for i in range (activationCost, myStat * 2 + 1):
    result += chanceToRoll (i, myStat)
  print ("You will activate the lab with probability of: " + str(round(result*100, 1)) + "%")
if mode == 1:
  myStat = int(input("Enter your roll stat: "))
  enemyStat = int(input("Enter enemy roll stat: "))
  bonus = int(input("Enter your bonus to roll (can be negative): "))
  knockOut = int(input("Enter how many damage is needed for KO: "))
  result = []
  for i in range (0, myStat*2 + bonus + 1):
    result.append(0)
  for i in range (0, enemyStat*2 + 1):
    for j in range (0, myStat*2 + bonus + 1):
      if j < i:
        result[0] += chanceToRoll(i, enemyStat) * chanceToRoll(j - bonus, myStat)
      else:
        result[j-i] += chanceToRoll(i, enemyStat) * chanceToRoll(j - bonus, myStat)
  for i in range (0, knockOut):
    print("Chance to deal " + str(i) + " damage is " + str(round(result[i]*100, 1)) + "%")
  a = 0
  for i in range (knockOut, myStat*2 + bonus + 1):
      a += result[i]
  print("Chance to kill the enemy is " + str(round(a * 100, 1)) + "%")

I wrote a program to tell you how likely you are to activate lab/ attack enemy.
User avatar
lilith2013
lilith2013
she/her
Spice of Life
User avatar
User avatar
lilith2013
she/her
Spice of Life
Spice of Life
Posts: 7170
Joined: September 22, 2015
Pronoun: she/her
Location: New York
Contact:

Post Post #228 (ISO) » Wed Oct 14, 2020 7:29 am

Post by lilith2013 »

In post 214, Albert B. Rampage wrote:
In post 1, Pine wrote:Heyo!

I am a Prophet. Twice per game I can select the type of room I discover with my next exploration action.
Mod: can we use this ability to say for example, I want to find a weapons cache room? Or say we want to find a Vault? What if there's no room called vault? How does this item / lavar's prophet ability work?
The types of rooms that can be selected using this ability are listed in the description of player actions:
In post 5, lilith2013 wrote:
Explore the house:
you find a new Room, which could contain one of the following: Items, Events, Rooms with permanent actions, or
LABS
.
I'm not sure whether any actions have been confirmed as submitted. Please make sure you are bolding your submissions of actions so I can distinguish discussion from submission.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #229 (ISO) » Wed Oct 14, 2020 7:32 am

Post by I Keep Siteflaking »

Gamma:
Chance to deal 0 damage is 40.3%
Chance to deal 1 damage is 19.3%
Chance to deal 2 damage is 17.3%
Chance to deal 3 damage is 12.3%
Chance to kill the enemy is 10.7%
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #230 (ISO) » Wed Oct 14, 2020 7:33 am

Post by I Keep Siteflaking »

Cake:
Chance to deal 0 damage is 21.0%
Chance to deal 1 damage is 18.5%
Chance to deal 2 damage is 21.0%
Chance to deal 3 damage is 18.5%
Chance to deal 4 damage is 12.3%
Chance to kill the enemy is 8.6%
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #231 (ISO) » Wed Oct 14, 2020 7:42 am

Post by I Keep Siteflaking »

IKS finds room containing Items
Lavar finds room containing Items
ABR rampages on Gamma using factional attack
ABR rampages on FaG using his action
ABR ropes gym
We reduce knowledge of Nosferatu
User avatar
LavarManos
LavarManos
Goon
User avatar
User avatar
LavarManos
Goon
Goon
Posts: 328
Joined: August 20, 2020

Post Post #232 (ISO) » Wed Oct 14, 2020 7:46 am

Post by LavarManos »

Oh we aren't doing labs?
User avatar
lilith2013
lilith2013
she/her
Spice of Life
User avatar
User avatar
lilith2013
she/her
Spice of Life
Spice of Life
Posts: 7170
Joined: September 22, 2015
Pronoun: she/her
Location: New York
Contact:

Post Post #233 (ISO) » Wed Oct 14, 2020 7:50 am

Post by lilith2013 »

In post 231, I Keep Siteflaking wrote:
IKS finds room containing Items
Lavar finds room containing Items
ABR rampages on Gamma using factional attack
ABR rampages on FaG using his action
ABR ropes gym
We reduce knowledge of Nosferatu
Please note that the Rope has been discarded. confirming the remaining actions.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #234 (ISO) » Wed Oct 14, 2020 7:51 am

Post by I Keep Siteflaking »

In post 225, Albert B. Rampage wrote:can we crunch some numbers for stats to find out my % to kill a 3-3 player and a 3-2 player?
On paper, you basically can write all possible combinations, count how many times you do n damage and divide it by total amount of combinations.
You can speed up the process a little by using Bernoulli. But it still is a nuisance.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #235 (ISO) » Wed Oct 14, 2020 7:52 am

Post by Albert B. Rampage »

the rope is one-use only.

IKS finds room containing Items using his item power
Lavar finds room containing Items using his career power
ABR attacks Gamma using factional attack + career power
ABR goes to the gym
We reduce knowledge of Nosferatu
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #236 (ISO) » Wed Oct 14, 2020 7:53 am

Post by I Keep Siteflaking »

In post 232, LavarManos wrote:Oh we aren't doing labs?
Depends on ABR, but I think that ability to kill is more useful than labs.
Plus there is an obnoxiously huge amount of players who can disable labs right now.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #237 (ISO) » Wed Oct 14, 2020 7:53 am

Post by Albert B. Rampage »

In post 229, I Keep Siteflaking wrote:Chance to deal 0 damage is 40.3%
the chance to deal 0 damage after throwing 4 3-sided dice is not 40.3%.
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #238 (ISO) » Wed Oct 14, 2020 7:55 am

Post by I Keep Siteflaking »

Hmmmmmmmmm.
I think Lavar could actually visit the gym.
It is so
horrible
that scum would never do it.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #239 (ISO) » Wed Oct 14, 2020 7:55 am

Post by Albert B. Rampage »

no wait it might be. wtf. lol. i roll 4 dice, then he rolls 3 dice, and he takes the difference in damage. thats disgusting lol
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #240 (ISO) » Wed Oct 14, 2020 7:55 am

Post by I Keep Siteflaking »

In post 237, Albert B. Rampage wrote:
In post 229, I Keep Siteflaking wrote:Chance to deal 0 damage is 40.3%
the chance to deal 0 damage after throwing 4 3-sided dice is not 40.3%.
You have 4 dices?!
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #241 (ISO) » Wed Oct 14, 2020 7:56 am

Post by Albert B. Rampage »

we need to find rooms with weapons or activate labs. which win con are we going for?

consider lavar dies d3 if we take the worst case scenario. how is he useful to us now?

yes. i have 4 dice
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #242 (ISO) » Wed Oct 14, 2020 7:58 am

Post by I Keep Siteflaking »

Abr, try posting the code in this:
https://www.onlinegdb.com/online_python_compiler
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #243 (ISO) » Wed Oct 14, 2020 7:58 am

Post by I Keep Siteflaking »

How?
I though you have 3 dices and get +1 to attack.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #244 (ISO) » Wed Oct 14, 2020 7:59 am

Post by Albert B. Rampage »

In post 99, lilith2013 wrote:sorry - you rolled a 3 and he rolled a 2, dealing 1 damage.
I rolled a 3 with 4 dices yesterday
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #245 (ISO) » Wed Oct 14, 2020 7:59 am

Post by Albert B. Rampage »

No i roll 4 dices that are 0, 1, 2

@mod confirm please?
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
I Keep Siteflaking
I Keep Siteflaking
Goon
User avatar
User avatar
I Keep Siteflaking
Goon
Goon
Posts: 433
Joined: August 15, 2020
Location: Europe

Post Post #246 (ISO) » Wed Oct 14, 2020 8:00 am

Post by I Keep Siteflaking »

In post 241, Albert B. Rampage wrote:how is he useful to us now?
Perhaps saves him.
The action is so illogical for scum that it, in theory, could save him.
It is a gamble, though.
User avatar
LavarManos
LavarManos
Goon
User avatar
User avatar
LavarManos
Goon
Goon
Posts: 328
Joined: August 20, 2020

Post Post #247 (ISO) » Wed Oct 14, 2020 8:01 am

Post by LavarManos »

Why is it illogical for me to visit the gym?
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #248 (ISO) » Wed Oct 14, 2020 8:01 am

Post by Albert B. Rampage »

I dont recommend this at all. He should explore for an item or find and activate a lab with his 4 knowledge
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
User avatar
Albert B. Rampage
Albert B. Rampage
Illogical Rampage
User avatar
User avatar
Albert B. Rampage
Illogical Rampage
Illogical Rampage
Posts: 27261
Joined: April 8, 2007
Location: Albuquerque, New Mexico

Post Post #249 (ISO) » Wed Oct 14, 2020 8:02 am

Post by Albert B. Rampage »

Town wont say its illogical. They dont know our powers. For all they know he visited gym so he can room block + attack
Guard your honor. Let your reputation fall where it will. And outlive the bastards.
Locked