They could probably do this entirely client side. It wouldn't be 100% accurate due to lag, but put that disclaimer on it.