Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 2.35 KB

README.md

File metadata and controls

58 lines (35 loc) · 2.35 KB

SNAKE GAME - Java Console App

Introduction

Welcome to the Snake Game, a classic console-based game implemented in Java. This game allows the player to control a snake that grows longer as it consumes food, while avoiding collisions with itself and the walls.

DEMO

Screenshot (71)

Prerequisites

Make sure you have the following installed on your machine:

  • Java Development Kit (JDK)
  • Eclipse (latest version)
  • Git (optional, if you want to clone the repository)

Features

  • Simple Controls: Navigate the snake using arrow keys (up, down, left, right).
  • Scoring: The player earns points for each food item consumed, and the snake grows longer.
  • Game Over Detection: The game ends if the snake collides with the walls or itself.
  • Speed Increase: The game speed increases as the snake grows, making it more challenging.

Getting Started

  1. Clone the Repository:
    git clone https://github.com/John12356/JAVA-Snake-console-game.git
    

How to run

smart-import-1

  • Choose the Clone URI option in the Git import wizard and click Next
  • Confirm the URI, Host and Repository path parameters and click Next
  • Choose the Git branches to clone from the remote repository and click Next
  • Confirm the Directory into which the repository will be cloned and click Next
  • Choose the project to import into Eclipse from GitHub and click Finish

Acknowledgments

We greatly appreciate all contributions to this project. Contributors will be acknowledged in our CONTRIBUTORS.md file. Thank you for your support!

License

This project is licensed under the MIT License. See the LICENSE file for details. License: MIT

Thank You

We appreciate your interest in our project and hope that you find it useful. Your contributions and adherence to the project's license are valuable to us.