As the games rules states, we will need to generate random numbers.
You can only use zero or positive integer between 1 and 9.
Here are some hints, but you really should try to find by yourself.
To generate random numbers, you can use PHP built-in functions such as:
It is easier to use random_int.
random_int
The #1 tech hiring platform