Akecel / valorant-shop-probability

Algorithm simulating the number of days it takes for the skin you want to appear in the game store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valorant Shop Probability Simulator 🚀

Algorithm simulating the number of days it takes for the skin you want to appear in the game store

Requirement

  • python3
  • pandas
  • matplotlib

Configuration

First of all, there are several variables to configure in order to use this script

  • purchasableSkins: Here you can specify the amount of skins available for purchase in the Valorant store. (Do not count agent skin or battlepass skins)

  • ownedSkins: Also, you can specify how many of them you already own (shouldn't include the ones you got from the battle pass or agent one, because they can't be bought in the shop).

  • averageDayBetweenPurchase: Average number of days between each skin purchase on your part (if you buy an average of 1 skin per month, then this number will be 30 (30 days).

  • numberOfTests: You can also specify the number of tests you want to run. As an output you will have an average of days to get what you want. (10k+ will probably take a few minutes to run).

purchasableSkins = 347
ownedSkins = 20
averageDayBetweenPurchase = 30
numberOfTests = 1000

Run script

python3 valorant-shop-probability/main.py

Authors

See also the list of contributors who participated in this project.

Licence

This project is licensed under the MIT License - see the LICENSE.md file for details.

Show your support

Give a ⭐️ if this project helped you!

About

Algorithm simulating the number of days it takes for the skin you want to appear in the game store

License:MIT License


Languages

Language:Python 100.0%