Marton's Page
CVAboutRepositories

Marton Gombos

Frontend Developer

© 2025 All rights reserved

Lottery Simulator - Vue 3

Live Demo Repository

The task was:

- Based on the example of the Five Number Lottery, the user needs to to be able to continuously draw 5 numbers from 1 to 90, just like in the lottery.
Each number can only be drawn once per round.

- The user can see the numbers that have been drawn on the interface. They should be able to play with randomly generated numbers.

- The user would like to have a slider that allows them to adjust the speed of the drawing process. The slider should be adjustable between 1 second and 1 millisecond.

- Additionally, we would like to provide the user with the ability to see how long they have been playing the lottery (displayed in years, with one drawing per week).

- The interface should show how many tickets the user has submitted so far, as well as how many tickets had 2, 3, 4, or 5 correct numbers.

- It should also show how much money the user has spent on tickets (each ticket costs 300 Hungarian forints in the application).

- If the user has a winning ticket with 5 correct numbers, the drawing process should stop and the number of years that have passed should be highlighted (visually different from the previous state).

Lottery Simulator - Vue 3 screenshot
Back to Home