This is snake game written in java.
This game is build using MVC(Model, view, controller) architecture. Used observer design pattern where the graphics listen to the logical thread events.
If you are using IDEA IDE, you can run Main.java.
otherwise compile using javac:
cd project_folder/src
javac Main.java
java Main
after running those commands you should see the window with the snake game!