In Mine Seeker, a game in which players try to find a specific number of randomly placed mines on the game board. The player clicks on a cell to examine it. If there are mines in the cell, then the mines will be exposed. If there are no mines, then checking the cell triggers a scan that displays a count of hidden mines in the same row and column as the selected cell. This information allows the player to make an informed choice about which cells to check. The goal is to find all the mines with the minimum number of scans.
- user can trigger a scan in a cell with a mine.
-
Welcome screen include two or more different animations
-
The Welcome screen can automatically advance to the Main Menu after all animations have finished, plus at least 4 extra seconds.
-
App can play a sound when it scans and when the user finds a mine.
-
Display text stating the total number of games started.
-
Display text stating the best score so far of any completed game of this specific configuration.
-
Allow user to reset number of times game has been played and best scores for each game configuration.
-
App can save game state if app is closed while playing.
-
Buttons displayed is fancy and visually appealing featuring icons.
- Dynamic Buttons and Images: populating a table of buttons at runtime and setting text and images on the buttons. source code Hint: If your button sizes change when adding text, set the text size in the button before you lock their sizes.
- UI Layouts.
- Forcing activity orientation (to portrait or landscape mode).
- Resource by Name: accessing a resource (image) by its name, not its ID.
- Radio Buttons: build radio buttons from data in a resource file.
- Options Screen: create custom options/settings screen with SharedPreferences.
- Dialog (AlertDialog): create a custom AlertDialog and interacting with parent Activity.