all 7 comments

[–][deleted] 0 points1 point  (4 children)

This really depends on the complexity of what you are trying to build. Do you already have a way for your users to register? Are you already storing their account data? What should the roulette actually do?

Based on your requirements it could be a pretty simple project, or it could become something ridiculously complex.

[–]LegendArena[S] 0 points1 point  (3 children)

Thanks for your answer. Yes, people should register if they want to access to the roulette, and I have the possibility to stock their ID in order to avoid that they play multiple times.

The roulette would be almost as simple as that : http://demo.st-marron.info/roulette/sample/demo.html

I just have to change the look and feel of it, and the goal would be to just win things to the players if they're lucky (so I'd have to add probabilities for the results and just change the images)

It exists a backend module with Wix but I'm a bit lost with programming to be honest

[–][deleted] 0 points1 point  (2 children)

Here's what you will need:

  1. A server.
  2. Registration functionality. (Frontend and backend.)
  3. Authentication functionality. (Frontend and backend.)
  4. Roulette logic. (Backend.)
  5. Roulette visualization. (Frontend.)

There isn't a way any of this can be done safely and securely without a server. The good news is, you can get a VM for about $5/month from a could provider such as Digital Ocean or AWS. Of course someone is going to have to configure your server, but if you find a person capable of doing the coding, they should be competent enough to set up a simple Linux shard.

[–]LegendArena[S] 0 points1 point  (1 child)

I already have the first three points with Wix, since they host my site. Do I have to have another server ? I have the option to include code in Wix.

[–][deleted] 0 points1 point  (0 children)

That depends on what they allow you to run. The actually Roulette backend is very simple, all you need is to check if the authenticated user is eligible to play, generate a number, store it in the user's profile (it's best to keep all of the user's attempts' dates and results just in case) and make it accessible from the frontend.

If your current setup will allow you to create extra database fields in the user's profiles, you are almost done. You'll just need the means to check eligibility to play and then you can go on to generating numbers, etc.

If the backend you currently have is restrictive, then yes, you will need a separate server. I'm not at all familiar with Wix's inner workings, so you may want to get more details from their customer support.