Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am leoxs22 on github.
  • I am leoxs (https://keybase.io/leoxs) on keybase.
  • I have a public key ASD29jwhjKjrlU5VhaRA2NOwNa8Du_Y2ctUczDKPy4PK3Ao

To claim this, I am signing this object:

@leoxs22
leoxs22 / archero_chest_simulation.py
Created July 7, 2019 21:52
Archero simulation of chests
import random
import numpy as np
import scipy.stats as stats
import matplotlib.pyplot as plt
number_of_different_items = 16
price_of_golden_chest = 60
price_of_obsidian_chest = 300
golden_probabilities = {0.8: 1, 0.2:3}
obsidian_probabilities = {0.5:3, 0.44:9, 0.06:27}