A game that involves finding mines.
To get started, you'll need to require Games::Mines and create a new minefield using the new method. For example, you can create a new 30x40 minefield with 50 mines using the following code:
my($game) = Games::Mines->new(30,40,50);
Once you have your minefield, you can use fill_mines method to fill it with mines. With this method, you can specify the locations of the mines you want to be placed after filling the rest of the minefield. For instance, you can exclude the four corners of the minefield when filling it with mines by using the following code:
$game->fill_mines([0,0],[0,40],[30,0],[30,40]);
This module offers all the necessary basic methods for a game, including methods for handling game logic and player input. Players will appreciate the polished and easy-to-use interface that fully immerses them in the mine finding experience.
Overall, Games::Mines offers a great way to enjoy a classic game with modern features and an intuitive interface. Whether you're a seasoned player or new to the genre, it's definitely worth checking out.
Version 0.02: N/A