How to capture/store a users answer to something and determine if it's
true after a certain peroid of time.
I'm trying to figure out how I could accomplish something.I'm having a
hard time thinking how to exactly word this so I apologize but lets take
this for example.. Say if you had a site that you could predict the
winners of basketball/football games. When someone is on their account on
the site, how can I capture their prediction and after a certain period of
time (When the game is over) it will update the account and tell me if I
was right or wrong and maybe put some kind of points on their account or
something...
Even if the site was as basic as two teams. Who will win, A or B? When you
choose A or B it's going to be before the game.. You can only choose
before the game begins, so you're not going to know the winner.. So it's
going to save your choice you've made and when the game is over it's going
to tell you if you were right or not. The hardest part I see is the time
delay.. Also what if the game goes into over time?
I'm not sure if Javascript/Jquery or PHP would be the best language for
the job so any suggestions would be helpful. I really appreciate taking
the time and read and answer my question.
Thank you
No comments:
Post a Comment