Web Application
Minesweeper
Description
A gaming application. A non-rectangular shape was chosen to implement the functionality of scanning the provided image using JavaScript. In this application, a PNG image is used, and any image can be used. It is divided into square sections of the field according to the selected game level. Then, each section is analyzed at four points to determine if it contains a background or if it is transparent. The game map is then constructed only based on the filled sections.
Technologies
React, HTML5 <canvas>, Webpack.
You can see the result by following this link live demo