An open API service indexing awesome lists of open source software.

https://github.com/mysterywolf/threes

RT-Thread终端益智类游戏 | An indie puzzle video game runs on RT-Thread console
https://github.com/mysterywolf/threes

console-game finsh game rt-thread rtthread terminal-game

Last synced: about 1 month ago
JSON representation

RT-Thread终端益智类游戏 | An indie puzzle video game runs on RT-Thread console

Awesome Lists containing this project

README

        

# Threes for RT-Thread

logo

[Threes](https://baike.baidu.com/item/threes/13028347),是一款数字消除类益智游戏。游戏规则十分简单,1和2合为3,3和3合并为6以此类推,但不可以是3和6合为9,两个3的倍数必须一样。尽可能获得更大的数字,4x4的棋盘填满且无法移动时游戏结束。

该游戏在2014年发布,运行在苹果手机上,在当时风靡全球,是2014年度App Store精选榜单中国区iPhone年度**最佳游戏**。[Harsh Vakharia](https://twitter.com/harshjv)将其用C语言实现并运行在Linux终端上(https://github.com/harshjv/threes-c )。我将其移植到了RT-Thread的Finsh组件上,大家就当开发无聊时打打趣。

在MCU上运行并通过Putty超级终端显示效果如下:

![putty](putty.png)

## 如何获取软件包

```
RT-Thread online packages --->
miscellaneous packages --->
entertainment: terminal games and other interesting software packages --->
[*] threes: An indie puzzle video game which was very popular in the year of 2014.
```

在终端下键入:

```shell
msh> threes
```

即可运行,通过WASD按键来模拟原版手机游戏中上下左右的滑动,按Q退出游戏。

原版游戏教学视频:
https://www.bilibili.com/video/BV1Ds41117Gs
https://www.bilibili.com/video/BV1PC4y1p7cb

## License

MIT

## Author

[Harsh Vakharia](https://twitter.com/harshjv)

Meco Man

## 维护&联系

Meco Man

[email protected]

https://github.com/mysterywolf/threes