The logic behind it wouldn't be difficult to code. It's the underlying data that needs to carefully considered. You need a source or truth...or as close to a source of truth as you can get. Otherwise you're just randomly selecting. You'd need a source of truth for player rankings, team needs, front office/GM draft tendencies...the list goes on. All this is highly subjective.
The only subjective part in the code would be the formula to calculate the probability of each pick because you would have to decide the weight given to each data point in the overall calculation. The rest of the code would just be cycling through the rounds applying that formula.
|