![]() The grids will not reveal and the command line where you write the program will display an error. I used recursion to implement Minesweeper which limits the possible dimension sizes due to stack overflow for large sizes (80-90+ rows and columns). The command you will put in will be: java -module-path \javafx\javafx-sdk-11.0.2\lib -add-modules ntrols,aphics -jar MinesweeperGUI.jar Notes on Implementation Type in this command: java -module-path path-to-javafx-lib -add-modules ntrols,aphics -jar MinesweeperGUI.jar (view footnote)Įxample: Let's say the path to your JavaFX lib file is: C:\javafx\javafx-sdk-11.0.2\lib.In your command line, go to the directory where you download the JAR file.Take note of the directory path where you install JavaFX, specifically the lib folder.Instructions on how to execute JAR file 1) You must have the following installed on your computer: only basic commands (reveal, flag, unflag).new game button, game over modes, different sizes and densities available.layout similar to typical Minesweeper game.A simple JavaFX GUI of the Minesweeper game
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |