Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deryeger/minesweeper
A customizable Minesweeper implementation written in Kotlin and using JavaFX.
https://github.com/deryeger/minesweeper
javafx kotlin minesweeper
Last synced: 20 days ago
JSON representation
A customizable Minesweeper implementation written in Kotlin and using JavaFX.
- Host: GitHub
- URL: https://github.com/deryeger/minesweeper
- Owner: DerYeger
- License: mit
- Created: 2019-08-13T09:47:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-12T10:11:00.000Z (about 5 years ago)
- Last Synced: 2024-10-28T20:48:45.662Z (2 months ago)
- Topics: javafx, kotlin, minesweeper
- Language: Kotlin
- Homepage:
- Size: 290 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minesweeper
> A customizable Minesweeper implementation written in Kotlin and using JavaFX.
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Build Status](https://travis-ci.com/DerYeger/minesweeper.svg?token=juB9bV6tFyoA5v7Hx1o4&branch=master)](https://travis-ci.com/DerYeger/minesweeper)
[![codecov](https://codecov.io/gh/DerYeger/minesweeper/branch/master/graph/badge.svg)](https://codecov.io/gh/DerYeger/minesweeper)
[![](https://jitpack.io/v/eu.yeger/minesweeper.svg)](https://jitpack.io/#eu.yeger/minesweeper)![](pictures/minesweeper.png)
## Gradle
In your build.gradle add
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
and
```
dependencies {
...
implementation 'eu.yeger:minesweeper:{version}'
}
```## Usage
```
val minesweeper = Minesweeper().apply {
width = 9
height = 9
mineCount = 15
cellSize = 30.0
onGameWon = { ... }
onGameLost = { ... }
}val view = minesweeper.instance();
```## Licenses
- Flying flag icon by [Lorc](http://lorcblog.blogspot.com/) under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)
- Unlit bomb icon by [Lorc](http://lorcblog.blogspot.com/) under [CC BY 3.0](https://creativecommons.org/licenses/by/3.0/)