I’ve started working on improving the framework. The most imported thing I did was create a namespace which contain all the game’s concepts. JavaScript does not have a proper class implementation like other languages do, so things are set up a bit different here. I read up on how to implement the idea of classes and namespaces in JavaScript and started implementing that for the game. Besides that I added functionality to create an island, as can be seen in the image above. All the cells at the edge of the map are turned into water, leaving a large land mass in the middle.