Coders Packet

Snake Game using jFrame and Java Swing

By Modit Parmar

This project is about a snake game, in this game, you have to control a snake using arrow keys in order to make it eat cherries.

This is a Java-based snake game, in this game you have to control the snake to make it eat cherries, it's length increases as it eats cherry.

Prerequisites:

1. Java should be installed in you local computer.

2. Java IDE is required to run this code.

 

JAVA version used:

- JDK 17.0.7  

 

Technologies used:

In this project, I implemented Java Swing Library and JFrame.

The dimension on the frame is fixed but can be changed by fixing the code accordingly.

 

Game will look like this ->

snakegame

 

Download Complete Code

Comments

No comments yet

Download Packet

Reviews Report

Submitted by Modit Parmar (Modit01)

Download packets of source code on Coders Packet