Balls-project allows the user to draw 30 standard baskets with randomly chosen (from 1 to 10) amount of unique-numbered balls (between 1 and 999). The user may also dispose of his own basket that contains up to 100 items (the amount of user`s basket may be set before the drawing begins).
The script displays the content of every basket and check if any of the following situations happened:
- single basket contains only balls (but a single ball in the basket can be also valid) owned by the user
- there is only one user`s ball in the single basket
The project has been written in following technologies:
- PHP
- Twig for rendering View layer
- JavaScript (JQuery)
Original online version: http://modele-ad9bis.pl/Balls