Basketball problem theory