~jakob/mines

Android implementation of the classic video game "Minesweeper".
335191bf — Jakob L. Kreuze 5 years ago
Use linear interpolation for camera movement
ef496487 — Jakob L. Kreuze 5 years ago
Extract Grid to be primarily a member of GameActivity
cc84e4ea — Jakob L. Kreuze 5 years ago
Initial implementation of flagging.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jakob/mines
read/write
git@git.sr.ht:~jakob/mines

You can also use your local clone with git send-email.

#Mines

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/.

#Building

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.