Skip to content

Jamarcus111/snakeGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snake Game

Introduction

This is a simple implementation of the classic Snake Game using Java. The game is played on a rectangular grid, where the player controls a snake that grows in length with each piece of food it consumes. The objective is to grow the snake as long as possible without colliding with the walls or the snake's own body.

Features

  • Classic snake game mechanics
  • Growing snake when food is eaten
  • Game over when the snake collides with itself or the wall

Technologies Used

  • Java

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed on your system. You can download it from here.

How to play

  • Use the arrow keys on your keyboard to control the direction of the snake.
  • The snake will grow in length each time it eats the food.
  • Avoid colliding with the walls or the snake's own body.

About

A snake game

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages