What is the number of uniq game score paths with given NBA game result?
Run the script with game score. This runs extremly fast. It is just calculating the total number of ways.
python3 nbaPath.py 92 78
If you want print out all individual possible game trajactories use -l
or --list
flag. Be aware that this can take infinite amount of time for large score values. Graph based searching is used for calculating all possible ways.
There is a csv file allSize-119x119.csv
in the repo. This file contains pre-calculated number of all possible scores in 200x200 grid.
For 200-200 score game, number of total uniq game play is 2.982857e+184
.
Note that highest NBA score match in history is with 186-184 score which has 3.390493e+170
uniq plays.
December 13, 1983 ; Detroit Pistons ; Denver Nuggets
Suppose that a NBA game score is 3-2. What is the all possible ways that this game can be played?
Number of uniq game plays for score 3-4 is: 2.770000e+02
All individual possible game plays
0-1 0-2 0-3 0-4 1-4 2-4 3-4
0-1 0-2 0-3 0-4 1-4 3-4
0-1 0-2 0-3 0-4 2-4 3-4
0-1 0-2 0-3 0-4 3-4
0-1 0-2 0-3 1-3 1-4 2-4 3-4
0-1 0-2 0-3 1-3 1-4 3-4
0-1 0-2 0-3 1-3 2-3 2-4 3-4
0-1 0-2 0-3 1-3 2-3 3-3 3-4
0-1 0-2 0-3 1-3 3-3 3-4
0-1 0-2 0-3 2-3 2-4 3-4
0-1 0-2 0-3 2-3 3-3 3-4
0-1 0-2 0-3 3-3 3-4
0-1 0-2 0-4 1-4 2-4 3-4
0-1 0-2 0-4 1-4 3-4
0-1 0-2 0-4 2-4 3-4
0-1 0-2 0-4 3-4
0-1 0-2 1-2 1-3 1-4 2-4 3-4
0-1 0-2 1-2 1-3 1-4 3-4
0-1 0-2 1-2 1-3 2-3 2-4 3-4
0-1 0-2 1-2 1-3 2-3 3-3 3-4
0-1 0-2 1-2 1-3 3-3 3-4
0-1 0-2 1-2 1-4 2-4 3-4
0-1 0-2 1-2 1-4 3-4
0-1 0-2 1-2 2-2 2-3 2-4 3-4
0-1 0-2 1-2 2-2 2-3 3-3 3-4
0-1 0-2 1-2 2-2 2-4 3-4
0-1 0-2 1-2 2-2 3-2 3-3 3-4
0-1 0-2 1-2 2-2 3-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