wilspi
  • 🙋
  • 🧭
  • 🏠

posts

​

play 2048

Introduction to Elm with 2048 game

​ In this post I will be creating a small game, 2048 in Elm. 2048 is a game created by gabrielecirulli which went viral in 2014. I chose 2048 because the game mechanics are simple which will help us understand Elm clearly. Also, I didn’t want to make another todo app. You can play here. ​ The Game Mechanics? There are some number tiles on the board (4x4). The number on the tile will be a power of 2 with minimum being 2....

5 min
monitoring logs

Save the production with Nginx hack

​ Quick nginx hack to save your production web server in case the web service starts crashing. If you have been working in a production environment, you know at certain times your web service can crash due to some unknown reason (code failure). It will take some time to do the RCA and fix the issue. A quick hack is to have multiple web services running on different ports resp. that can take the load off if any of them goes down....

2 min
© 2025 wilspi