A few years ago one of our clients asked us to build new mobile web games for them. They already had some on their website which they called “one bu

Making browser games more secure with Elm

submited by
Style Pass
2021-08-19 10:00:08

A few years ago one of our clients asked us to build new mobile web games for them. They already had some on their website which they called “one button games”. An example for the complexity of these games is the offline dinosaur game in Chrome, when there’s no internet connection, but in our case designed for mobile devices. We were still a small team and most of us had almost no experience in building games, but the requirements looked manageable.

When we started implementing the first games we’ve decided to do things differently compared to the agencies that our client hired to built the previous games. For example we chose to not use any JavaScript game frameworks to keep the file size as small as possible and build the games in a functional way for the ease of maintainability. And the results were great! The size of our games were just a fraction of our client’s old games, they were easy to change even for junior developers and they reached 60 fps on older devices too.

We grew with the task and the complexity of games therefore increased as well. Around that time our team also started to learn Elm. Some of us had already experienced the ease of refactoring and reliability of functional JavaScript software projects and wanted to take these advantages even further. We’ve decided to hire an experienced Elm developer to speed up this process. This is how Erkal joined our team and it didn’t take long for him to start building our first games in Elm.

Leave a Comment