Page 10 of 21

Posted: Wed Oct 14, 2020 6:21 am
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?

Posted: Wed Oct 14, 2020 7:27 am
by I Keep Siteflaking
Yes.

Posted: Wed Oct 14, 2020 7:28 am
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.

Posted: Wed Oct 14, 2020 7:29 am
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.

Posted: Wed Oct 14, 2020 7:32 am
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%

Posted: Wed Oct 14, 2020 7:33 am
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%

Posted: Wed Oct 14, 2020 7:42 am
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

Posted: Wed Oct 14, 2020 7:46 am
by LavarManos
Oh we aren't doing labs?

Posted: Wed Oct 14, 2020 7:50 am
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.

Posted: Wed Oct 14, 2020 7:51 am
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.

Posted: Wed Oct 14, 2020 7:52 am
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

Posted: Wed Oct 14, 2020 7:53 am
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.

Posted: Wed Oct 14, 2020 7:53 am
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%.

Posted: Wed Oct 14, 2020 7:55 am
by I Keep Siteflaking
Hmmmmmmmmm.
I think Lavar could actually visit the gym.
It is so
horrible
that scum would never do it.

Posted: Wed Oct 14, 2020 7:55 am
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

Posted: Wed Oct 14, 2020 7:55 am
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?!

Posted: Wed Oct 14, 2020 7:56 am
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

Posted: Wed Oct 14, 2020 7:58 am
by I Keep Siteflaking
Abr, try posting the code in this:
https://www.onlinegdb.com/online_python_compiler

Posted: Wed Oct 14, 2020 7:58 am
by I Keep Siteflaking
How?
I though you have 3 dices and get +1 to attack.

Posted: Wed Oct 14, 2020 7:59 am
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

Posted: Wed Oct 14, 2020 7:59 am
by Albert B. Rampage
No i roll 4 dices that are 0, 1, 2

@mod confirm please?

Posted: Wed Oct 14, 2020 8:00 am
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.

Posted: Wed Oct 14, 2020 8:01 am
by LavarManos
Why is it illogical for me to visit the gym?

Posted: Wed Oct 14, 2020 8:01 am
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

Posted: Wed Oct 14, 2020 8:02 am
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