Skip to content

AliMousa27/Snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 

Repository files navigation

Snake

This is my first project and I decided to create a snake game by referencing javafx libraries.

How it looks

image

image

Features

  • Vibrant colors using simple css.

  • Ability to change controls

  • Color customization

image

  • customization for grid size and game speed

Cloning process:

  1. Navigate the directory to be at the desktop

image

  1. Clone the repository with the git clone command into your desktop

  2. Download Javafx if you haven't already

  3. Open the project with your IDE of choice. I am using VSCode

  4. 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

image

  1. navigate to where you have the javafx lib folder installed and select all.

  2. In the grouped buttons at the top, select "Run" and then add configuration

image

  1. 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.

About

This is my first project. Its a small scale snake game made in javafx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors