My friend Desi wrote a Solitaire game for the Amiga 1000.
It was 15,041 lines of ANSI C… all in the main() function.
He didn’t create any other functions but had a crap-ton of GOTOs.