pytrin wrote:If you would explain in more detail the requirements of your game, maybe someone here would have an idea on how to improve the design of your system.
This is a game where users play matches with other users in a league format and they set their match orders for their upcoming games.
All the scores is calculated based on the players which the user has chosen to play before the games start which is fridays at 10 am.
Now that everything is already calculated and stored in the database - starting from 10am on fridays, i need to start displaying the scores to the user, for example:
Ball 1 : 2 Runs
30 second later user should see:
Ball 1 : 2 Runs
Ball 2 : 0 Runs
Another 30 second later user should see:
ball 1 : 2 Runs
Ball 2 : 0 Runs
Ball 3 : 6 Runs
... and so on
User have to refresh the page to see changes so i'm going to have the match page refresh every 30 automatically.
If the user logs in say 10:03am - they will have missed 6 balls of the games so they will see
Ball 1 : 2 Runs
Ball 2 : 0 Runs
Ball 3 : 6 Runs
ball 4 : 1 Runs
Ball 5 : 0 Runs
Ball 6 : 3 Runs
30 second later user should see:
Ball 1 : 2 Runs
Ball 2 : 0 Runs
Ball 3 : 6 Runs
ball 4 : 1 Runs
Ball 5 : 0 Runs
Ball 6 : 3 Runs
Ball 7 : 1 Runs
Been working on this for about 2 weeks but with no luck.
I hope someone on here can help me with this.