The Hacker Project - a free online game

HP Info Terminal => F.A.Q. => Topic started by: jager on December 13, 2011, 10:41:19 AM



Title: Max highscore
Post by: jager on December 13, 2011, 10:41:19 AM
Emi, this is a question for you, if you have a minute for us :)

Why is high score limited to 2.147.483.647 points or 2^31-1? (2*2*2*2...*2 -1) or one less then 2 Gbits points? :)

lpJ.


Title: Re: Max highscore
Post by: WolfDoc on December 13, 2011, 01:22:39 PM
bc of game coding :) lol


Title: Re: Max highscore
Post by: GlitchH4xor on December 13, 2011, 01:32:51 PM
It is the highest 32 bit number. I think should be 9,223,372,036,854,775,808 like in space odyssey. Probably Sir Emi never thought someone would get to 2 billion power.