Thread: Draft glitch??
View Single Post
Old 04-25-2016, 05:54 PM   #6
Westheim
Hall Of Famer
 
Westheim's Avatar
 
Join Date: Apr 2012
Location: Germany
Posts: 13,287
Quote:
Originally Posted by danielb View Post
It DOES say 7681...I stand corrected! But still...How is that possible in the first round??
I suspect that the amount of memory allocated to store the number of the round is not big enough.

You say you have 30 teams. 30 teams picking for 256 rounds amounts to 7,680 picks, so the guy should be the first pick in the 257th round.

However 256 is also 2 to the power 8. If the number of the draft round is stored in a single byte, it overflows after 256 rounds and the 257th round is displayed as the first round.

Related and rather well-known problem: https://en.wikipedia.org/wiki/Pac-Man#Kill_screen
__________________
Portland Raccoons, 90 years of excell-.... of baseball: Furballs here!
1983 * 1989 * 1991 * 1992 * 1993 * 1995 * 1996 * 2010 * 2017 * 2018 * 2019 * 2026 * 2028 * 2035 * 2037 * 2044 * 2045 * 2046 * 2047 * 2048 * 2051 * 2054 * 2055 * 2061
1 OSANAI : 2 POWELL : 7 NOMURA | RAMOS : 8 REECE : 10 BROWN : 15 HALL : 27 FERNANDEZ : 28 CASAS : 31 CARMONA : 32 WEST : 39 TONER : 46 SAITO

Resident Mets Cynic - The Mets from 1962 onwards, here.

Last edited by Westheim; 04-25-2016 at 05:57 PM.
Westheim is online now   Reply With Quote