I’m trying to learn to program with laravel! I would like to understand how to best organize a project.
The project I would like to develop is the following:
Create a web app for a roulette betting strategy.
the strategy is based on the fibonacci sequence (0 1 1 2 3 5 7 12 etc.) so each bet is the sum of the previous two.
but I want to bet on a “column” or “row” of the roulette table only when it hasn’t come out for at least 5 consecutive times.
therefore I have to create a form in which I insert the last number that came out and save it in a sequence of numbers.
from the sequence check how many times each column and row hasn’t come out.
when one of these is not drawn for 5 consecutive times, highlight it as “to bet” and assign the bet 1 of the Fibonacci sequence eg € 1.00
if it is not drawn in the subsequent rounds, increase the bet following the Fibonacci sequence until that column or row is drawn.
at this point the sequence must be reset and you start again from the beginning counting from how many extractions the columns and rows have not come out.
it should not be too complicated but I do not understand how I should manage the models and functions to calculate the columns, rows and the bets following the numbers drawn.
I hope someone can give me some advice.
Thanks