yetanalytics.com/blog/2014/11/20/datalog-at-play

By Milt Reder

This past weekend the Yet Analytics dev team took home the sponsor prize from Lookingglass Cyber Solutions for our clojurescript project at the third Baltimore Hackathon. Lookingglass' challenge provides a UI (in Om) and a messaging system (using core.async) for a game of checkers and asks the challenge to implement the game logic, suggesting features such as move validation, AI and a game state recorder.

Something that jumped out at us immediately was the challenge's suggestion to use Datascript to record and play back game state. Datascript could certainly do this handily, but it gives you so much more: Datalog queries and rules, transactions and listeners... Could we leverage these to implement our game logic? It wasn't exactly what the challenge was asking for, but we were the only team competing so we decided to go for it.


Comments (0)

Sign in to post comments.