Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xwjdsh/games
Java Swing 实现的小游戏。[俄罗斯方块&贪吃蛇 / tetris&snake]
https://github.com/xwjdsh/games
java snake-game swing swing-gui tetris tetris-game
Last synced: about 1 month ago
JSON representation
Java Swing 实现的小游戏。[俄罗斯方块&贪吃蛇 / tetris&snake]
- Host: GitHub
- URL: https://github.com/xwjdsh/games
- Owner: xwjdsh
- License: apache-2.0
- Created: 2016-02-21T16:19:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T04:24:06.000Z (over 2 years ago)
- Last Synced: 2024-12-09T16:50:18.542Z (about 1 month ago)
- Topics: java, snake-game, swing, swing-gui, tetris, tetris-game
- Language: Java
- Homepage:
- Size: 1.87 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# games
以前学习 Java Swing 时写的小项目,代码结构清晰,简单易读,注释完备。初学者能从中学习到数据结构,面向对象等基础知识。
## 截图
### 入口
![](https://raw.githubusercontent.com/xwjdsh/games/master/snapshot/entry.png)### 俄罗斯方块
![](https://raw.githubusercontent.com/xwjdsh/games/master/snapshot/game1.png)
![](https://raw.githubusercontent.com/xwjdsh/games/master/snapshot/game1-setting.png)### 贪吃蛇
![](https://raw.githubusercontent.com/xwjdsh/games/master/snapshot/game2.png)
![](https://raw.githubusercontent.com/xwjdsh/games/master/snapshot/game2-setting.png)## 如何运行
### 通过 Maven 打包
```
cd $project_root
mvn -f pom.xml clean package
java -jar target/games-0.0.1-SNAPSHOT.jar
```
### 通过 Docker
https://github.com/xwjdsh/games/tree/master/docker## 协议
[Apache License](https://github.com/xwjdsh/games/blob/master/LICENSE)