fn judge(entry: &Value) -> i32
Wait the window (ending early once the entry passes, if nothing in it could still turn), then judge.