JudgeHodorMD t1_ittymwf wrote
Reply to comment by iwrite4myself in [WP] You are an NPC in an RPG. Normally, your attack is set to 1. However, a player used a cursed item on you, reducing your attack by 2, causing it to underflow, making you the most powerful in the game. by alegonz
This is about data types in programming. The code only has so many digits to work with. So there’s only so many possible numbers.
Like 0 to 9999, except it’s more like a binary equivalent. No numbers exist that are outside of that range. If you try to go past the limit you can get an error where it basically just loops around.
Viewing a single comment thread. View all comments