Skip to content

This is the popular game of snake developed in java and this project is an example how to compile java programs from the source

Notifications You must be signed in to change notification settings

MrAlex6204/java-snake_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Snake Game

This project is a didactic purpose and an example of how to create a basic game in java and compile a java project from scratch.

This project can easly be compiled in linux using the Makefile or in windows using the batch scrit built.bat

Playing snake game

Build.bat
To compile for windows execute this bat file. But before make sure have installed Java SDK and configured in the PATH environment variable or edit the bat file and map the path to the SDK bin folder.


Makefile
To compile and run in linux execute the below commands in the terminal.



Compile

$ make

Generate the jar file

$ make build

Run the java game

$ make run

Clean the bin folder

$ make clean

About

This is the popular game of snake developed in java and this project is an example how to compile java programs from the source

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published