r/JavaFX • u/Mechanical-pasta • Jun 19 '26
I made this! My first JavaFx Application

I tried JavaFx, and, as a support project to learn the language, I've decided to buid my own MineSweeper but with some differences :
- Offers the classic square cells minefield or an hexagon based minefield
- minefield size customizable from 20 x 20 to 60 x 100
- different difficulties (determine mines percentage)
- Zoomable minefield (CTRL+mouseWheel)
- English and French translations provided via i18n
You can find it here if you're interested : https://github.com/TargolLagadec/MineSweeperTribute
26
Upvotes
View all comments
Show parent comment
2
u/Mechanical-pasta Jun 20 '26
I used Canva for "higher performance". At first, I tried a GridPane for the square minefield and a simple StackPane (with a custom control for the hex cell) for the hexagonal minefield. Performances were terrible : more than 3 seconds to generate a 60x60 field and exponentially rising with field size. With maximum field size (6000 cells), it freezed.