SnakeGame

🐍 Snake Game

A classic Snake Game built with Java, where players control a growing snake to eat food and avoid collisions, designed with simple yet engaging gameplay.

Java Swing

â„šī¸ About

A nostalgic recreation of the Snake Game, developed using Java and Swing, where you control the snake’s movement, aiming to eat the food while avoiding collisions with the walls or the snake’s body.

🚀 Features

  • đŸ•šī¸ Classic Snake Game: Move the snake to eat food and grow longer.
  • 🎨 Graphical User Interface (GUI): Simple and user-friendly design using Java Swing.
  • âąī¸ Dynamic gameplay: The snake speeds up as it grows.
  • đŸ’Ĩ Collision detection: Game ends when the snake collides with itself or the walls.

đŸ“Ļ Installation

1. Clone the Repository

git clone https://github.com/DikshitaDas/SnakeGame.git
cd SnakeGame

2. Compile and Run the Game

javac SnakeGame.java
java SnakeGame

🛠 Technologies Used

Technology Logo
Java Java
Swing Swing

🤝 Contributing

Contributions are welcome! Here’s how you can contribute:

  1. Fork the repository 🍴
  2. Create a new branch (git checkout -b feature/amazing-feature) 🚧
  3. Commit your changes (git commit -m 'Add a new feature') 📝
  4. Push to the branch (git push origin feature/amazing-feature) 📤
  5. Open a pull request đŸ“Ŧ

📄 License

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

Visit original content creator repository https://github.com/DikshitaDas/SnakeGame

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *