Skip to content

reinasherry/snakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Game

This is the simple classic Snake game built with Java. Control the snake to eat apples and grow longer without hitting the walls or the snake itself!

image

Requirements

Java Development Kit (JDK) 8 or higher Any Java IDE (Eclipse, IntelliJ, NetBeans) or command line

Project Structure

snake/ ├── GameFrame.java # Main game window ├── GamePanel.java # Game logic and graphics └── Snake.java # Entry point with main method

Class Responsibilities

GameFrame: Creates the application window GamePanel: Handles game mechanics, drawing, and user input Snake: Starts the game by creating a GameFrame

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages