This is my first project and I decided to create a snake game by referencing javafx libraries.
-
Vibrant colors using simple css.
-
Ability to change controls
-
Color customization
- customization for grid size and game speed
- Navigate the directory to be at the desktop
-
Clone the repository with the git clone command into your desktop
-
Download Javafx if you haven't already
-
Open the project with your IDE of choice. I am using VSCode
-
Add the library dependencies. Open the "App.java '' then on the bottom left corner. there is a section called "Java projects'' Open that and press the + sing in referenced libraries
-
navigate to where you have the javafx lib folder installed and select all.
-
In the grouped buttons at the top, select "Run" and then add configuration
- in the launch.json add the following command "vmArgs": "--module-path PathToWhereYouHaveJavafxLib --add-modules javafx.controls,javafx.fxml" Note: The process may differ between IDE's and OSS'. For more information about adding the javafx library see https://openjfx.io/openjfx-docs/
WARNING: The cloning process may not work for other ides such as intellij or other ides.





