Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petr-panteleyev/sapper

Sapper game
https://github.com/petr-panteleyev/sapper

game java javafx minesweeper sapper

Last synced: 3 days ago
JSON representation

Sapper game

Awesome Lists containing this project

README

        

# Sapper Game

![JDK](docs/java-23.svg)
[![License](docs/license.svg)](LICENSE)

Yet another Sapper game.

![Big Board](docs/board_big.png)

## Board Sizes

Three standard board sizes:
* 8 x 8, 10 mines
* 16 x 16, 40 mines
* 30 x 16, 99 mines

Custom board can be from 8 x 8 up to 30 x 24 with maximum mines number equal to (w - 1) * (h - 1).

## Build

* Set ```JAVA_HOME``` to JDK 23+.
* Execute:

```shell script
./mvnw clean verify
```

Application JAR and all dependencies will be placed in ```target/jmods```.

## Run

```shell script
./mvnw javafx:run
```

## Custom Run-Time Image

```shell script
./mvnw clean verify jlink:jlink
```

Run-time image will be found in ```target/jlink``` directory.

## Binary Installers

To build binary installers perform the following steps:
* On Microsoft Windows: install [WiX Toolset 3.x](https://github.com/wixtoolset/wix3/releases), add its binary
directory to ```PATH``` environment variable
* Execute:

```shell script
./mvnw clean verify jpackage:jpackage
```

Installation packages will be found in ```target/dist``` directory.

## Support

There is no support for this application.