Elektrine lite

← Feed

@swetland@chaos.social

Post #1990089

2026-05-03 01:37 UTC

@masp When I was in middle school, first learning C, I found the PC Hack 3.60 source code. I managed to get it compiling with Turbo C 2.0 and proceeded to recreate some features I liked in NetHack (which I had also played on DOS but had not located source for), like spellbooks. To this day I credit Hack for being instrumental to me understanding pointers and data structures (particularly linked lists) in C. Very educational!

Replies (2)

  • @masp@wandering.shop 2026-05-03 01:40

    @swetland yes: I spent some time on it too, and it really did hone my C skills. It helped that I was very motivated to play with the new features that I was adding: it wasn’t just recursive containers: I added a whole ton of stuff; I remember that I was trying to create portable altars, but I never got that working :)

    Open ##1990090

  • @masp@wandering.shop 2026-05-03 02:26

    @swetland I first played hack on a PC in 1986 and it was mind-blowing :)

    Open ##1990091