By: Sam Light
On: 25th May 2017
I'm very happy with the end result. It performs well and works in all modern browsers. It also scales well to mobile. It's fun and feels reasonably comparable to some of the original Tetris games.
I would like to build an online scoreboard for the game. At this point, I have not decided the best way to do this. I would like to make the project completely Clojure based but I have a niggle. I'm hosting this on a web server that fully setup for running PHP. It seems a little crazy to build the backend in Clojure just for creating a little database API when I have PHP already running and PHP can do this well. If I do it in Clojure I have to run a JVM on my server running the Clojure server instance, then I have to configure my webserver to proxy the API request to the Clojure application. This isn't a big deal and is probably the route I will go down but it just feels a little overkill.
Please have a go at the game: PLAY HERE
If you are interested in the code, It is open source. Check it out on Github. VIEW CODE HERE