Use linear interpolation for camera movement
Extract Grid to be primarily a member of GameActivity
Initial implementation of flagging.
This is a work-in-progress Android implementation of the single-player puzzle video game, "Minesweeper." The code aims to emulate the gameplay of Microsoft Minesweeper. (Within reason, of course. It would be very difficult to implement chording with the input vocabulary of a mobile device.)
Graphics are shamelessly taken GNOME Mines.
Mines is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Mines is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Mines. If not, see https://www.gnu.org/licenses/.
Assuming that you have the Android SDK properly installed and configured, Mines can be built with the following command:
./gradlew assembleRelease
This will produce app/build/outputs/apk/release/app-release-unsigned.apk
. This
file will need to be signed with jarsigner
and optimized with zipalign
before it can be installed on an Android device.