Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dongyanghu/greedy-snake-java
This is a greedy snake game implemented in Java.
https://github.com/dongyanghu/greedy-snake-java
awt awt-gui gui java javase swing swing-gui
Last synced: about 2 months ago
JSON representation
This is a greedy snake game implemented in Java.
- Host: GitHub
- URL: https://github.com/dongyanghu/greedy-snake-java
- Owner: DongyangHu
- License: apache-2.0
- Created: 2024-05-11T10:58:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-11T13:10:42.000Z (8 months ago)
- Last Synced: 2024-11-22T07:05:45.817Z (about 2 months ago)
- Topics: awt, awt-gui, gui, java, javase, swing, swing-gui
- Language: Java
- Homepage:
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# greedy-snake-java
[![GitHub release](https://img.shields.io/github/v/tag/DongyangHu/greedy-snake-java.svg?label=release)](https://github.com/DongyangHu/greedy-snake-java/releases)
[![GitHub Releases Downloads](https://img.shields.io/github/downloads/DongyangHu/greedy-snake-java/total.svg?logo=github)](https://somsubhra.github.io/github-release-stats/?username=DongyangHu&repository=greedy-snake-java)[README](README.md) | [中文文档](README_zh.md)
![logo](logo/logo.jpg)
## What's greedy-snake-java
- This is a greedy snake game implemented in Java.
- Version of JDK is 1.8
- Developing Based on Java GUI, used the package of Swing/AWT## Quick Start
- Please ensure that the JVM environment is installed properly before starting
- Download the jar file what name is `greedy-snake-java-xxx.jar` from [Release](https://github.com/DongyangHu/greedy-snake-java/releases)
- run the command `java -jar greedy-snake-java-xxx.jar` to start game.## Introduction to functions
- The basic logic of Greedy Snake Game. Basic view generation and movement rules
- Scoreboard. Simple scoreboard functionality displaying the current score and length
- Multiple Level Foods. Foods of different levels are generated based on probabilities, with higher-scoring foods having lower probabilities. An expiration policy for foods is added, where higher-scoring foods have shorter lifespans
- Dynamic Difficulty Control. As the score increases, the snake's movement speed accelerates, making the game progressively more challenging
- Game Start/Pause Capability## LICENSE
[greedy-snake-java](https://github.com/DongyangHu/greedy-snake-java) is licensed under [Apache-2.0](LICENSE)