Hello, I have 3 random incidents.
1)There is a pandemic. Will you open hospitals?
-Yes -No
2)They kidnapped you. Will you try to run?
-Yes -No
3)There was an earthquake. Will you run for help to people?
-Yes -No
I would like to shuffle these incidents and appear in the game every 5 seconds randomly. I've tried to use the ''functions'' but I couldn't. Do you guys have a project that will help me with it? or can you show me an example of how to do it? I've added the incidents to the array and use ajax. yet I couldn't go further. If you show me an example, I would appreciate it.