Skip to content

Renzie2161/RNGenius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RNGenius

License

A powerful simulation tool designed to calculate probabilities, rolls, prices, and time estimates based on user-defined inputs. Perfect for gambling gaming, statistical analysis, or any scenario requiring probabilistic simulations.


Table of Contents


Features

  • Flexible Probability Input:
    • Supports fractional (1/10000), percentage (0.01%), and decimal (0.0001) formats.
  • Detailed Output:
    • Displays rolls, prices, and time for each attempt.
    • Calculates averages for rolls, prices, and time.
  • Export Results:
    • Download results as a structured results.txt file.

Installation

Prerequisites

  • A web browser (e.g., Chrome, Firefox, Edge).
  • Basic knowledge of HTML, CSS, and JavaScript (optional, for customization).

Steps

  1. Clone the repository:
    git clone https://github.com/Renzie2161/RNGenius.git
  2. Navigate to the project directory:
    cd RNGenius
  3. Open the index.html file in your browser:

Alternatively, you can directly use the hosted version here.


Usage

  1. Input Parameters:

    • Enter the probability, number of attempts, price per roll, and time per roll in the respective fields.
    • Example:
      • Probability: 0.01%
      • Attempts: 100
      • Price per roll: 50
      • Time per roll: 1h15m25s
  2. Run Simulation:

    • Click the Generate button to start the simulation.
    • Watch the progress bar update in real-time.
  3. View Results:

    • Results will appear in the terminal below the inputs.
    • Example:
      Attempt 1: Rolls=78912, Prices=11836800, Time=98640h0m0s
      Attempt 2: Rolls=92345, Prices=13851750, Time=115431h15m25s
      
  4. Export Results:

    • Click the Download button to save the results as a results.txt file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A probability calculator

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors