#twoweeksofcode: Crimer

This is part of the Two Weeks of Code.

Crimer: An unfinished two-player online board game, built to experiment with the Firebase API. Firebase is quite interesting: server-side data storage, but you include a JS library and can then write data locally in JS and the library takes care of sending it up to the server. One neat thing about this is that you don’t have to worry about the synchronisation aspect — it does it for you — and a much much neater thing is that you get events when any data changes, on all clients, whether they were online when that data change happened or not. So it’s a great way to build two-player games and the like. The downside is that the free accounts only give you a few simultaneous users and after that it gets expensive pretty quickly, meaning that you can’t afford to build a fun little game with it in case that game suddenly gets popular and a bill the size of the Empire State Building arrives on your doorstep.

Vaguely inspired by the very weird Twitter account @CrimerShow in concept; the most annoying thing about this was naming one of the variables detetcive and then having to constantly override my fingers and misspell it every time I used it.

On GitHub at: https://github.com/stuartlangridge/crimer. It’s unfinished, as noted; doesn’t work yet.