r/programmingrequests • • Jul 20 '17

[Request] A simple timer program based on coordiantes

Hello, everyone. I don't know if this is the correct subreddit for requesting a program but if it is wrong, then please redirect me.

I want to first mention that I have zero programming experience but I need a simple timer program made. Rough sketch: http://imgur.com/Uydf6Zm.

Purpose: I want to use it for Pokemon Go, and I need the program to calculate how much time I need to wait between two coordinates.

Main Function:

  • I want the program to have 10 coordinate inputs, and I want it to calculate the distance in km based upon latitude and longitude differences of two subsequent coordinates (Eg. Coord 1 and 2, Coord 2 and 3, and so on until Coord 9 and 10).

  • Then based upon calculated km, the program makes time output by dividing km by 2.15 because in game, it takes roughly 2.15km to travel per 60 seconds. So, if two coordinates are 4.50km apart, then the time shown to the right will display 2:00 (2 minutes).

  • Next to each coordinate's input box, Erase Start Copy Paste are 4 buttons.

  • The RESET !!! is also a button but a larger one that once clicked, it erases all the coordinate inputs and defaults to None or 0, 0.

Timer:

  • Has Start Pause and Stop (3 buttons).

  • Makes beeping noise when timer reaches 0.

  • Timer stops ticking when it finishes counting down times.

Map (Optional):

  • The google map on the left is optional. If it is too difficult to code, then forget it.

  • As for the GPS marker, red is the coordinate I am currently at. Blue with numbers are coordinates that I have already traveled to. Once timer finishes counting down Coordinate 2's time, I want the program to mark Coordinate 1 with blue marker on the map and mark Coordinate 2 with red marker on the map to indicate current position. This goes until Coordinate 10.

Timer Text Color (Optional):

  • Green: Represent the times that have been already counted down.

  • Black: Current timer.

  • Red: Times to be counted down.

  • Example -- When Coordinate 2's timer is ticking, Coordinate 1's time color is green, 2's time color is black, and 3's time color is red. But once timer moves on to count down Coordinate 3's time, 2's time color changes to green, 3's time color changes to black, and 4's time color remains red.

I left some details just in case the post gets too long. PM me in reddit for details and if convenient, we can chat via Discord. Thank you.

2 Upvotes

2 comments sorted by

View all comments

1

u/notantisocial Aug 04 '17

Are you looking for a website? Are you planning on running this from your phone?

1

u/orcamania5 Aug 14 '17

Preferably a GUI software I can run offline but a website will do. Phone app is even better. I kinda already made simple GUI with Python but without the graphical timer feature. The GUI program just beeps when hidden timer reaches 0.