Advent of Code on an 8 bit micro

Here’s a nice writeup of an attempt to work through the advent of code challenges on a BBC Micro

via stardot: Big number arithmetic


I gave is a shot, but I think I got stuck on day 6. Up until then, I was able to do everything in GWBASIC. But then I hit the limitations of BASIC’s number range.

1 Like

Yes, for a lot of these sorts of things you may need to roll up your sleeves and write at least a double integer set of routines, and possibly a lot more. But if you know how to do long multiplication by hand, you already know what you need to do. (You might come unstuck with division…)