I am a self-employed n00b and trying to do small IT dev projects for companies, like dashboards or web designs.
I created a slot machine-like function where user clicks on "spin/insert coin" to spin the images and "STOP" to stop it from spinning. I now need assistance in js to achieve the following:
I need a pop-up saying "Sorry, try again tomorrow" when after the 3rd spin there is no win. Right now the user can just spin the wheels infinitely without winning or losing. I need to also write in the winning rule: I want to be able to set a timer like event so that say everyday there are only 3 winners after spinning where no matter what is on the roulette wheel, the popup say's congratulations please enter cell number and name and I can capture it from db.
I think it is simple js with events or timeouts and intervals etc, but let me know!
I have already designed all the front-end. Please see files attached for the site. In summary I require back-end written so that 3 times a day someone gets a pop-up message "CONGRATS YOU WON. Please enter name en cell nr" and if they are not one of the lucky 3 who spun the wheel and won, then the message after 3 unsuccessful spins pops up "Sorry try again tomorrow"
Bu iş için 4 freelancer ortalamada $646 teklif veriyor
Sound like an easy project. I can implement a backend easily using websockets and golang.I'll integrate everything into the app on the front end. Hope ill hear back.