arXiv:2608.29563cs.LGAug 2026

Manuscript Offprint

arXiv:2608.29563

HoopMind: A Real-Time Neural Game-Tree System for Opponent-Aware Possession Planning

Yibo Gong, Cong Guo, Jiacheng Ding

Yibo Gong

Beijing National Day School

(High School Student)

Beijing, China

briangongyibo@outlook.com

Cong Guo

University of Memphis

Memphis, TN, USA

cguo@memphis.edu

Jiacheng Ding

University of Memphis

Memphis, TN, USA

jding2@memphis.edu

Abstract—School coaches prepare for opponents with game film and intuition. The analytics tools of professional teams stay out of reach. We ask how far public data can close this gap. Professional basketball is our case study, chosen for its data rather than the league. We fuse five public sources into one per-shot dataset of 4.23M shots over 21 seasons. The sources are shot locations, two play-by-play feeds, official matchup tracking, and player biometrics. Alignment across them is 99.5% to 100%. We also report two data pitfalls that are easy to miss. We then model a half-court possession as a sequential game. Shot values come from ShotNet, an embedding multilayer perceptron (MLP). On a held-out season it beats a zone-rate baseline and a logistic baseline, and its probabilities are well calibrated. A depth-limited expectimax search then solves the offensive decision tree, with branch-and-bound pruning to keep it real time. All training runs offline, so the online system stays light. A scouting planner and a playable simulator both run in a single browser page.

Index Terms—sports analytics, multi-source data fusion, spatiotemporal data mining, interactive visualization, serious games

I. INTRODUCTION

This project began with something we noticed as student players. A school coach preparing for an opponent has only game film, a whiteboard, and intuition. Telling players to open a video game is not instruction, and purely verbal scouting is hard to absorb. A coach could use something in between: a fast, visual tool, grounded in data, that shows where, against whom, and when an opponent is weak, and lets players feel the answer by playing against it.

Such a tool needs historical data at scale, and school basketball has none. Professional basketball does. Three kinds of data are public there: shot locations, event-level play-by-play, and, since the 2017-18 season, matchup-level tracking of who guarded whom [1]-[3]. Two gaps remain. First, nobody has fused these sources per shot in the open. Second, the resulting models must run in real time on a school laptop. 1^{1}

This project differs from earlier course and club work. There the first author trained standard classifiers on tabular sports data and drew static shot charts. That work made the gap clear. A model that only scores shots after the fact cannot tell a player what to do next. That is why we added the planning layer.

The work has three parts.

The first part is the data ( §IV§IV). Every shot carries its pre-shot score margin, its assist source, a clutch flag, the identity of any blocker, and the shooter's height and weight. Alignment is 99.5% to 100%, and the sources agree on 99.9% of matched outcomes. We also report two pitfalls that quietly corrupt a naive merge ( §IV−B§IV-B).

The second part is the models ( §V§V). We build opponent profiles at four levels: team by zone, individual defender, quarter of the game, and the single shot. The shot level is ShotNet, an embedding MLP fit to 3.8M training shots. It beats a zone-rate baseline and a logistic baseline on a held-out season under a strict time split. Every rate estimate uses empirical-Bayes shrinkage, and we state where the matchup data is biased.

The third part is planning and the system ( §III§III, §VI§VI). We treat a half-court possession as a sequential game and solve it by depth-limited expectimax with branch-and-bound pruning. Two browser tools ship the result: a scouting planner that answers where, against whom, and when to attack, and a playable simulator whose defense follows the learned profiles. Every shot in the simulator is one in-browser forward pass of ShotNet, and a coach mode shows the live solution (Fig. 5).