In todays lesson we are going to program the “string” class.
Why on earth would you use C for a text adventure? Portability & size?
Even the cheapest microprocessor out there like the $2 ESP32 has at least 2MB of storage.
I’d love a text based adventure scene though, gimme a modern Zork :-) !
There’s definitely a modern text adventure scene still alive and kicking - it’s called interactive fiction now.
Check out IFComp to see what folks are up to!
Thank you, will do!
Edit: there is a lot! Any classic rpg like ones you’d recommend? Say like the Hobbit text adventure for example?
It’s actually one of the first projects I ever did back in the '90s. I was poor and didn’t have any kind of laptop so I wrote C code on paper and put it into a computer when I had access. So many mistakes. Fun experience, though.
So you mean it’s time to start a text adventure sub?!
I remember figuring out asm codes and sprites for the C64 when I was in class 😋
I never messed with assembly on the C64. I’ve actually considered trying to buy one just to mess with it and relive a bit of my youth (and also get that lovely SID chip and its sounds). My C64 days were mostly playing existing games and messing about with BASIC.