Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Need Help Coding A Timer In PHP? (PLEASE RESPOND)

$
0
0
I've been trying and trying to code a timer in PHP for on line timer based game, but I can't figure it out. I've searched all over the Internet for a solution, but can't find anything.

I need to code a timer that will give you a certain amount of experience for a certain action, and the timer needs to run on a certain length for that certain action.

SO, for example. Say Your mining, for sake of the thread, it takes 30 seconds to mine 1 copper ore. Mining that one copper ore in that 30 second time period gives 13 experience. Any thoughts?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>