https://github.com/devonchurch/shortbread-biscuit
An application that allows a user to investigate every New Zealand Lotto result in detail
https://github.com/devonchurch/shortbread-biscuit
antd demo react research statistics typescript webworkers
Last synced: 15 days ago
JSON representation
An application that allows a user to investigate every New Zealand Lotto result in detail
- Host: GitHub
- URL: https://github.com/devonchurch/shortbread-biscuit
- Owner: devonChurch
- License: mit
- Created: 2019-01-01T03:36:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-05T04:48:28.000Z (over 5 years ago)
- Last Synced: 2025-10-24T14:42:01.835Z (7 months ago)
- Topics: antd, demo, react, research, statistics, typescript, webworkers
- Language: TypeScript
- Homepage: https://devonchurch.github.io/shortbread-biscuit/
- Size: 3.05 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shortbread Biscuit 🍰 🍞 🍪 😋
[](https://prettier.io/) [](http://commitizen.github.io/cz-cli/) [](https://www.typescriptlang.org/)
## What 👋
An application that allows a user to investigate every [New Zealand Lotto](https://mylotto.co.nz/) result in detail.
- 📊 _Balls_ are compartmentalised into their specific _draw_ order and then ranked by _frequency_.
- 🎛 A _**"Most Frequent"**_ section is also generated by aggregating all drawn _ball_ frequencies regardless of _draw_ order.
- ⚖ _Ball_ combinations are ranked by _size_ and _frequency_ regardless of ball order.
- 📋 _Draws_ are ranked in sequential order. This is a great way to cross reference _**combinations**_ and _ball_ _**frequencies**_.
## Demo 👀
#### You can view an [interactive demo here](https://devonchurch.github.io/shortbread-biscuit/) 😊
### Web Worker
As of release `v1.1.0` [Web Workers](https://caniuse.com/#feat=webworkers) are used to shift CPU heavy computation onto another thread 🎉
The workers progress is streamed back to the main application thread and an real time indicator is shown to the user ⏱

### Custom Selection
Users can select specific _ball_ numbers and observe their influence over the entire _draw_ spectrum.

### Time Periods
The _draw_ records can also be time sliced to better understand how certain _ball_ numbers rank at different periods in time.

## Installation 🤖
- Clone this repository
```
git clone https://github.com/devonChurch/shortbread-biscuit.git && cd shortbread-biscuit
```
- Install project dependencies
```
nvm use && npm i
```
- Start a development server on [Port 3000](http://localhost:3000/)
```
npm start
```
## Deployment 🏁
- Create a _Production_ build
```
nvm run build
```
- Deploy application to `gh-pages`
```
nvm run deploy
```
## License 📜
MIT