javascript - Synchronise PHP server and android countdown timers -
i'm creating android game timer. countdown timer in php server should equal timer in android app. timer should run. if game finished, should create new timer next game. should use server time or have set fixed time game?
i use database store time game started, can call current time server/database start time of game , use function in android app countdown/calculate difference.
more detail might key better answers.
cheers!
Comments
Post a Comment