Finlotteriet is a simple javascript lottery.
npm install
npm run start
Add contestants/ticket with the input. Every ticket has an equal chance of winning. Click "Trekk vinner!" to start spinning. Click "Start nedtelling" to draw the winner. Click "Aksepter vinner" to remove the ticket from the pool, and you are ready to draw again.
You can also add contestants from file by adding a contestants.csv
to the public/data folder with the following format:
Name;Tickets;Comments;
Knut;2;;
Per;2;;
Espen;1;;