Skip to content

A simple Java GUI snake game built with java swing JFrame, JPanel, and Java awt events.

Notifications You must be signed in to change notification settings

EchooWww/snake_java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍🍎Java Snake game

Introduction

This is a simple snake game written in JFrame, Java AWT event and Java Swing. The game is played on a 2D board. The snake is controlled by the player and moves around the board. The snake can eat food and grow in length. The game ends when the snake collides with itself or the board boundary. The goal of the game is to eat as much food as possible and get the highest score.

🎮 How to play

  1. Clone this repository
git clone https://github.com/EchooWww/snake_java
  1. Run the Snake.jar file in the folder simply by double-clicking it
  2. And now you can play the game!

About

A simple Java GUI snake game built with java swing JFrame, JPanel, and Java awt events.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages