It looks like you're new here. If you want to get involved, click one of these buttons!
I stumbled into this on Instagram and then ended up down a rabbit hole, but the creator of the video game NBA Jam was a massive Pistons fan and was bitter about how good the Bulls were. He says he wrote code that would prevent the Bulls from making a game-winning shot in the last five seconds of the game.
I have started digging through the code but haven't found this spot in the code just yet. I thought this crew would likely be able to find it quickly! But there's other really interesting things in this code as well - the designers built themselves into the game, and there a number of other cool nuggets in there too.
I can't post a code snippet here because I don't know where this moment in the code is, but once we find it maybe we can edit this post?
Source Code on GitHub (in Assembly):
https://github.com/historicalsource/nba-jam
Turmell Talking about it here:
GDC Presentation by Turmell where he mentions it (but doesn't point to code):
Comments
A couple of initial thoughts:
1) This may just be a version of the code that doesn't have this function in it.
2) It seems that searching for mentions of "brick" might be useful, given that Turmell says that what he did was increase the chances of a last-second shot by the Bulls agains the Pistons being a brick. I have found mention of a #nobrick function that decreases the chances of a shot being a brick...but that's all at this point.
The player.asm file has the following comment:
The code is:
This suggests that a last second shot of a tie game should almost never go in, regardless of the teams playing...
I'm just starting to look through this code but this little passage from MAIN.ASM jumped out at me for its colorful comments:
Not what we're looking for, but evidence of some lockerroom atmostphere in the development space. Of course, it's easiest to take on the comments first. Plunging deeper...
There's a bunch of that stuff in there, Mark. Definitely worth digging into.
I have a hunch that Turmell is telling stories (some youtube commenters think this too). It reminds me a bit of Pat LeMieux's work on Super Mario Clouds.
That makes me feel better, @jamesjbrown I spent the day pouring over this code and found little more than what you did. I mean he does have his fingers on the scales of the players, though not unjustly perhaps...
PLYR.ASM includes this:
But again, stats might back that up and it is not 4th quarter dependent.
Also based on this comment, the bias against the Bulls, might really just be the bias against anyone taking last minute shots, as in the code you've found. Quoting from this article:
So it's not just about the Bulls, but any team trying to do that. And now I'm thinking about all of MJ's game winning, last-minute shots for the Bulls in the years around the release of this game.