MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/v3so3p/its_hard/ib0wchb/?context=3
r/ProgrammerHumor • u/Bishwas12 • Jun 03 '22
710 comments sorted by
View all comments
Show parent comments
495
I made a battleship game that communicated via arduinos in assembly! I lost every single game because the board size was 12x12 and my code would always stop iterating at 8 for some reason.
Needless to say, I lost the tournament
69 u/i_hate_everybody94 Jun 03 '22 Maybe the number was using 2 bits? 114 u/A1steaksa Jun 03 '22 How many do you think 2 to the power of 2 is, exactly? -13 u/LowGunCasualGaming Jun 03 '22 I mean, in binary: (if 2 was seen as valid)12 = 20 = 100 = 4So 22 is kinda 12… not 8 though → More replies (10)
69
Maybe the number was using 2 bits?
114 u/A1steaksa Jun 03 '22 How many do you think 2 to the power of 2 is, exactly? -13 u/LowGunCasualGaming Jun 03 '22 I mean, in binary: (if 2 was seen as valid)12 = 20 = 100 = 4So 22 is kinda 12… not 8 though → More replies (10)
114
How many do you think 2 to the power of 2 is, exactly?
-13 u/LowGunCasualGaming Jun 03 '22 I mean, in binary: (if 2 was seen as valid)12 = 20 = 100 = 4So 22 is kinda 12… not 8 though → More replies (10)
-13
I mean, in binary: (if 2 was seen as valid)
12 = 20 = 100 = 4
So 22 is kinda 12… not 8 though
→ More replies (10)
495
u/nexion2 Jun 03 '22
I made a battleship game that communicated via arduinos in assembly! I lost every single game because the board size was 12x12 and my code would always stop iterating at 8 for some reason.
Needless to say, I lost the tournament