Problem #1 [Excited]

By Milan Maksimović

Problem #1 [Excited]

So, I started working on a Conquest Timer App. First problem I have found is >> How to add time to one timer for each second the other timer used <<.

Naturally, I started looking for a solution. I have found some timer documentation, but still I haven’t found the exact solution. It was time for Stack Overflow to come to my aid, so I posted a problem on SO. You can find it HERE.

You are of course encouraged to leave your comments here, tell me your opinions, and post solutions you believe I need.

Tags: , , ,

2 Responses

  1. Jovan Damjanovic says:

    Easiest solution – keep track of total time for both in a constant and elapsed time for player one. Then all you need to do to calculate player two is substract player one time from the total. I bet with some playing around you could optimize it all to work around only one timer instance.

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !! If you wish to present this content elsewhere please contact us.