OK, let's say attacking team has players A1, A2, ..., A5 and defending team D1, D2, ... , D5. Man to man defense.
You draw attacking players based on position (PG, ..., C) and maybe tactic. A1 far from the rim, A5 close to the rim. You make them move rather randomly around that initial position. You invent some random passes. Up to this point all this is shit because it has almost nothing to do with the game engine. It is just a fantasy. You make this for maybe 20 seconds until the real shot is produced.
Then I ask you, where do you draw the defending players D1,..., D5?