bouzenaali / snake-game

🐍 snake game developed with vanilla java (the repo is part of the GitHub community exchange)

Home Page:https://education.github.com/globalcampus/exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Java Snake Game

Overview

This repository contains a classic snake game implemented in Java. The game is built using vanilla Java, providing a simple yet entertaining gaming experience.

How to Play

To play the game, follow these simple steps:

  1. Download the snake.exe file from the repository.
  2. Run the snake.exe file to start playing the game.

Controls

  • Use the arrow keys (up, down, left, right) to control the movement of the snake.
  • Avoid collisions with the walls and the snake's own body to stay alive.
  • Eat the food (designated by a dot) to grow longer and increase your score.
  • The game ends when the snake collides with a wall or its own body.

Contributions

If you're interested in contributing to the project, follow these steps:

  1. Fork and clone the repository to your local machine.
  2. Make your modifications or add new features to the game.
  3. Write comprehensive and representative commit messages for your changes.
  4. Push your modifications to your forked repository.
  5. Open a pull request, describing the changes you've made and why they're beneficial for the project.

Feedback and Issues

If you encounter any issues while playing the game or have suggestions for improvements, please feel free to open an issue in the repository. Your feedback is highly appreciated and helps to make the game better for everyone.

About

🐍 snake game developed with vanilla java (the repo is part of the GitHub community exchange)

https://education.github.com/globalcampus/exchange

License:MIT License


Languages

Language:Java 100.0%