I'm recalling days spent on my C64 playing games like Tass Times in Tone Town - *sigh*
Text-based adventures on the C64 wouldn't be as elaborate as the browser games you're talking about, but they are around. It's as easy as grabbing an emulator and a handful of roms and you'll have plenty of text-based games to keep yourself occupied.