Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 639 Bytes

readme.md

File metadata and controls

16 lines (10 loc) · 639 Bytes

🐍🍎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!