Git Product home page Git Product logo

threes's Introduction

Threes for RT-Thread

logo

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

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

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

putty

如何获取软件包

 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.

在终端下键入:

msh> threes

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

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

License

MIT

Author

Harsh Vakharia

Meco Man

维护&联系

Meco Man

[email protected]

https://github.com/mysterywolf/threes

threes's People

Contributors

mysterywolf avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.