Skip to content

amyiasingh/Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Snake-Game

Snake Game in Java for CMPINF401

File Descriptions


Assets:

.pngs for the GUI

Src:

Food.java:

Relocates the Cherry, Lemon, and Apple position. Extends: Cherry.java, Lemon.java, Apple.java

Position.java:

Find the x, y coordinate position on the game board.

Direction.java:

Based on the direction the user indicates with the keyboard, the position of the snake changes.

Snake.java:

Implements the game logic.

SnakeGame.java:

The main method. Run the game using this file.

About

Snake Game in Java for CMPINF401

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages