Minesweeper - online game
Published 2022-08-01 23:21:17, Updated 2022-08-12 22:37:49My project from the end of 2021, is the Minesweeper online game.
Several months ago I became almost addicted to this game. I never played Minesweeper and I didn’t know how to play it. Out of curiosity, I started playing Mines (Minesweeper game in Xubuntu Linux distribution). At first, I got smashed every game. But then I found some tricks on how to win the game or at least not to lose very early. (Un)fortunately, this game is not only about skill but also at the final stages of the game about luck.

I decided to make an online version. I didn’t know much about programming games for the web. Hence, I went the easiest way – decided to use JavaScript since I was not completely unfamiliar with it and found a tutorial for the Minesweeper game. The game was ugly and not working at all. So I had to learn more about JavaScript and also CSS. I wanted the game to look like the one I played on Xubuntu.
The game was made and the website was built. I bought the domain online-mines.com and set it there.
The challenge for me was making it playable on mobile. I wanted to be able to play it on my phone. For mobile, I had to use the smallest playground which is unfortunately also the easiest difficulty as the default to fit the resolution of my lame phone. But the other difficulties (and therefore playground sizes) are still extending the page and the scrollbars are necessary.

I already have some thoughts on enhancing the game and the whole experience so I will update it in the future. At least I should replace the bomb icon (which is an emoji) for mine..
If you like Minesweeper or would like to try to play it, feel free to check the game out on online-mines.com.