To me the interesting thing is the logic programming "rules" and their overlap with game rules. Inspired by work at Stanford on the logic programming based Game Description Language [1] I implemented Tic Tac Toe in Datascript yesterday: https://github.com/kasbah/datascript-games/blob/e06a37025bf9...
I am still not clear whether there isn't a more succinct rule definition than what I have there. In the Stanford paper you have rules like:
I am still not clear whether there isn't a more succinct rule definition than what I have there. In the Stanford paper you have rules like:
But in Datascript I have to do much more rigmarole around shuffling the data around: I don't know if this is down to Datascript/Datomic Datalog limitations or more the limitations of my understanding.How do you approach your experiments? If you have any of your work to share or some tips on what I am doing I'd be very interested.
[1]: https://www.cs.uic.edu/~hinrichs/papers/love2006general.pdf