I wanted to find some stuff I'd done with the #cri #Ruby #gem. When I found it, I was gobsmacked: in my sleep-deprived state, it looked bloody brilliant! And, of course, totally undocumented. So I'm going to document the original code and then adapt it into #TAGF for things like

𝚝𝚊𝚐𝚏 𝚛𝚎𝚗𝚍𝚎𝚛 --𝚜𝚘𝚞𝚛𝚌𝚎=𝚝𝚎𝚜𝚝.𝚱𝚊𝚖𝚕 --𝚏𝚘𝚛𝚖𝚊𝚝=đ™żđ™œđ™¶

and

𝚝𝚊𝚐𝚏 𝚟𝚊𝚕𝚒𝚍𝚊𝚝𝚎 --𝚜𝚘𝚞𝚛𝚌𝚎=𝚝𝚎𝚜𝚝.𝚱𝚊𝚖𝚕

and maybe even

𝚝𝚊𝚐𝚏 𝚛𝚞𝚗 --𝚜𝚘𝚞𝚛𝚌𝚎=𝚝𝚎𝚜𝚝.𝚱𝚊𝚖𝚕

!!
#gamedev #textadventure

In order to check things like location adjacency and shortest-path routing, I've cheated by embedding the #RGL #Ruby #graph package into the base code. Among other things, this makes it simple during game development to detect things like unreachable locations. It has the delightful side-effect of making it simplicity itself to generate a graphical map of the game!
#tagf #gaming #gamedev #digraphs #textadventure