Project: On Snake Game Using JAVA
Project: On Snake Game Using JAVA
PROJECT
On
Submitted By
Name : Kamrul Islam
Student ID : 1702146
Session : 2017
Level : 2 Semester : II
Department of Electronics & Communication Engineering ,HSTU
Objective of The Project :
To make game using java code.
General Objective :
i) To know the use of JFrame,Random numbers
,Timer in JAVA.
Specific Objective:
i) To execute and play snake game using JAVA code.
Inspiration of the Project:
In my childhood I used to play snakegame using featured phone . At that
time I was curious about how the game can make using JAVA programming
language . It inspire me to do the project.
After running the code of the project there will come a windows and
there will be snake and a cherry fruit . The snake can be controlled
using up , down , right ,left button . If the snake can be able to eat the
cherry fruit the score will be increase by 10 each time as will as the
length of the snake . The game will be over if the snake touch the
boundary and bite its own body .
Advantages :
Functionalities :
i) Score Showing
ii) Playing time in the game
iii) Length of the snake
Technical Functions :
i) Addition of score .
ii) Increment of time .
viii) If the game is over use white space bar to play again
Output of The Project :
iii) Using png file of snake and cherry will make the game more attractive.
Summary of The Project :