3 ms·
Thanks I'll look into this. I wrote the game in js+canvas so my plan was to add some js prolog or datalog implementation later on for querying. Or just use in-m
by ajuc 5y ago
Thanks I'll look into this. I wrote the game in js+canvas so my plan was to add some js prolog or datalog implementation later on for querying. Or just use in-memory sql.
The problem wasn't as much with the querying part as with the remembering part, there was just too much information that needed to be recorded every frame in case I would want to know this 1 fact half an hour later.
- mst 5y agologtalk basically takes prolog and bolts on a smalltalk-style OO system and it is kinda batshit but also utterly beautiful and even if you don't use it I hope you'll be fascinated by reading up on it. (also because it's built -atop- prolog you can potentially get it to run on a prolog-in-X implementation though I've not yet tried that ... though I'm now tempted to so I'm going to finish this comment before I nerd snipe myself)