Jump to content

gfogleman

New Members
  • Posts

    2
  • Joined

  • Last visited

gfogleman's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. requinix, your rephrasing sums it up correctly. The abundance of information is ok; it is for a geocaching puzzle so the players will already know that the answer is within 2 miles of the listed coordinates. Their concern is narrowing it down to about 3 feet! Your order of processes is perfect. The "d" process would then be to construct the formula and place it on an image, although the image would be strictly for effect and doesn't have to be a part. Unfortunately, I am just learning and have no clue how to make your processes happen.
  2. I am trying to write a script for a puzzle based on the user's IP address, but I just can't wrap my head around how to do it. Essentially, when the visitor loads the page two things happen: (1) a PHP application returns an image to serve as a background for the formula, (2) implement the algorithm of generating the formula based on IP, that is displayed on the image. The puzzle itself would be in the form of ABC.DEF.GHI.JKL where each letter would be associated with the corresponding digit in their IP addy. The user is trying to solve for partial map coordinates. So, let's say the correct answer is N 35 54.374 W 084 01.829 and the user's IP is 075.036.025.058. The formula returned and placed on the image would be N 35 54. (E) (B) (F - H) W 084 01. (L) (H) (B + H) The algorithm basically needs to get the set of available digits from the IP and check if it can build the formula digits from those. If not, there would be a fallback for a missing number; for example given the above answer and if the available digits couldn't make a 9 then it would be represented by something like (C + 4). Whatever I use as the final correct answer will not change and be the same for all users; only the puzzle formula would differ for each user as it would be based on their IP at the moment. Any help here would be greatly appreciated. Thanks! Gary
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.