# Battle Tetromino
Battle Tetromino is a spin on the classic Tetris game where various powerups can be employed to wreck havoc on the opponent's game board.
<img src="https://github.com/BradHuang1999/Battle-Tetromino/blob/master/screenshots/Login.png?raw=true" height="210px"></img></br>
Features:
1. Local Player vs Player
2. Local Player vs AI
3. Online Multiplayer and Chatroom
4. AI Demo Play
5. Single Player
## Genetic Algorithm
The machine modes were trained with ~ 30 generations using a **genetic algorithm** which assessed children from generation x with a fitness function and mutation operator using **supervised heuristic optimization**.
<img src="https://github.com/BradHuang1999/Battle-Tetromino/blob/master/screenshots/MachineAlgo.png" height="420px"></img></br>
<sup>_Machine Algorithm after 24 hours: reached score of 61,000,000 and cleared 7000 lines_</sup>
## Websocket Multiplayer
Used a **low-latency message queue optimization** on the websocket connection to eliminate 95% of game play delays
没有合适的资源?快使用搜索试试~ 我知道了~
一款在线多人俄罗斯方块游戏,可以使用通电来破坏对手的游戏板_java_代码_下载
共47个文件
java:26个
png:17个
license:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 91 浏览量
2022-06-22
21:10:29
上传
评论
收藏 196KB ZIP 举报
温馨提示
Battle Tetromino 是对经典俄罗斯方块游戏的一种旋转,其中可以使用各种通电来破坏对手的游戏板。 效果展示: https://github.com/BradHuang1999/Battle-Tetromino/blob/master/screenshots/Login.png?raw=true 特征: 本地玩家与玩家 本地玩家与 AI 在线多人游戏和聊天室 人工智能演示播放 单人玩家 更多详情、使用方法,请下载后阅读README.md文件
资源推荐
资源详情
资源评论
收起资源包目录
Battle-Tetromino-master.zip (47个子文件)
Battle-Tetromino
.gitignore 291B
README.md 1024B
resources
emojiSmirk.png 775B
J.png 16KB
hold.png 2KB
emojiLaugh.png 901B
T.png 15KB
L.png 16KB
emojiDevil.png 1KB
I.png 15KB
S.png 16KB
emojiFun.png 1KB
Z.png 16KB
robot.png 5KB
O.png 15KB
messages.txt 1KB
emojiHaha.png 867B
tetronimo.png 7KB
LICENSE 11KB
screenshots
Login.png 56KB
MachineAlgo.png 123KB
src
server
Server.java 15KB
User.java 1KB
GameRoom.java 4KB
game
games
OnlineBattleGame.java 11KB
SinglePlayerGame.java 4KB
TetrisGame.java 9KB
SoloGame.java 3KB
DoublePlayerGame.java 14KB
HumanVsAIGame.java 11KB
AIGame.java 1KB
LocalBattleGame.java 11KB
AutoPlayable.java 122B
Tetromino.java 9KB
TransparentPanel.java 6KB
queue
DoublyNode.java 447B
Node.java 392B
Queue.java 793B
gameboards
DoublePlayerGameBoard.java 6KB
GameBoard.java 12KB
DoublePlayable.java 603B
AIGameBoard.java 8KB
AIDoublePlayerGameBoard.java 6KB
client
LogInGUI.java 6KB
WaitLoungeGUI.java 20KB
ClientBufferedReader.java 548B
TetrominoClient.java 2KB
共 47 条
- 1
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功