Earlier quoted context omitted.
I always mean to write up my projects but never do. The gist is really, through trial and error I was able to map developer's desks to coordinates and elevation angles to get to their seat and just made a flat file that had their username, X, Y, and Z values in it. The main loop was just the standard socket server you'd find in a Ethernet module example and I wrote a Jenkins plugin that would connect on break and sen…
You probably could have done some basic artillery calculations. Then again, you might work in one of those weird offices where trying to measure the distance from your desk to theirs is more awkward than repeatedly attempting to shoot your coworkers while you fine-tuned the numbers. Neat project!
I tried some basic calculations, but as you could guess with a nerf dart, building HVAC, and all the other things going on it wound up being faster and easier (and again, more fun) just shooting until I was on target a couple of times.
After the first few desks it was pretty easy to get close on the first shot because you could generally know that 4ft left or right was about an adjustment value of +/- whatever from the last coordinate you had dialed in.