Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dikshitadas/snakegame
https://github.com/dikshitadas/snakegame
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dikshitadas/snakegame
- Owner: DikshitaDas
- Created: 2024-06-25T15:46:48.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-26T16:58:17.000Z (7 months ago)
- Last Synced: 2024-06-26T20:34:17.377Z (7 months ago)
- Language: Java
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đ 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](https://img.shields.io/badge/Java-%23ED8B00.svg?&style=flat&logo=java&logoColor=white)
![Swing](https://img.shields.io/badge/Swing-Framework-orange?style=flat)## âšī¸ 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
```bash
git clone https://github.com/DikshitaDas/SnakeGame.git
cd SnakeGame
```### 2. Compile and Run the Game
```bash
javac SnakeGame.java
java SnakeGame
```## đ Technologies Used
| Technology | Logo |
|-------------|------|
| **Java** | ![Java](https://img.shields.io/badge/Java-%23ED8B00.svg?&style=flat&logo=java&logoColor=white) |
| **Swing** | ![Swing](https://img.shields.io/badge/Swing-Framework-orange?style=flat) |## đ¤ 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](LICENSE) file for details. đ