This holiday was so boring by the COVID-19 that I wrote a PHP version of mine sweeping
Open start PHP file, you can see that several parameters are set when creating the MineWeeper object They are the number of rows, the number of columns and the number of bombs
php start.php