This is a webpage that simulates the results from various UK-based lotteries.
You can change the lottery type, amount of tickets and the simulation speed.
https://robson.plus/lottery-simulator/
The output for this project is designed for desktop and mobile.
Platform | OS | Browser | Version | Status |
---|---|---|---|---|
Desktop | Windows | Firefox | 98 | Working |
Desktop | Windows | Opera | 84 | Working |
Desktop | Windows | Chrome | 99 | Working |
Desktop | Windows | Edge | 99 | Working |
Mobile | Android | Chrome | 98 | Working |
Mobile | Android | Firefox | 97 | Working |
Last tested on 9th March 2022.
To run this on your computer:
- Download the repository.
- Unzip anywhere.
- Open index.html in your browser.
This is the webpage with the simulator, the input form and the output tables.
This consists of the information for each lottery type and some helper functions that are shared across all of them.
Each lottery type must be in the same format as the existing lotteries, which means it must have a title, currency, etc.
This file is responsible for simulating the ticket results, showing the statistics and handling the copying of statistics to the clipboard.
All formatting and layout information is contained in this file.
This is built using:
- HTML
- CSS
- JavaScript