Re: Clojure Games

2018-04-26 Thread Kris Leech
Great to read the snake code for inspiration. I see you use cond with contains? to branch on a map key. I was thinking about how to manage game state which has physics, one thing which occurred to me would be have a headless browser running phaser.js, the clients do the same and are periodicall

Re: Clojure Games

2018-04-25 Thread Kris Leech
I'm currently working on a multi player game, when I have time. The backend in Clojure, the frontend in Javascript (as in a HTML browser based UI). So far it has been a really fun project and a great learning experience. All communication is over web sockets (using http-kit). I send events (whi