Skip to content

Instantly share code, notes, and snippets.

View Bgrmn0's full-sized avatar

Bgrmn0

View GitHub Profile
@Bgrmn0
Bgrmn0 / Controller.java
Last active September 8, 2024 14:15 — forked from Da9el00/Controller.java
Snake game with JavaFX
package Snake;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
import javafx.scene.input.KeyCode;