https://github.com/shaunxcode/fractal-realms Just pushed a first commit if anyone is interested in playing with it. The only thing required is latest version of datomic running:
First - copy the sample free transactor config via
cp config/samples/free-transactor-template.properties fr.properties
Then run the transactor
bin/transactor fr.properties
Run the schema (from the fractal_realms dir)
(this is ghetto right now, just paste what is in the create-db.clj file into repl - looking around for best practice on how deploying a new datomic schema should work within a lein based project)
After that
lein ring server
And you should be able to hit the api via curl or browser on port 3000
etc.
I really appreciated the discussion last night around different ways to optimize collision detection/decision making/conflict resolution and I am excited to see where this goes. The next step from here is to write some scripts to populate it with some random landmasses and implement the PUT /actor/:id/position?x=[float]&y=[float] method and start load testing!