登录
首页 » 软件系统 » QT下编写的一个2048游戏

QT下编写的一个2048游戏

于 2022-04-23 发布 文件大小:717.56 kB
0 201
下载积分: 2 下载次数: 1

代码说明:

应用背景通过鼠标的滑动来控制组合数字的方向,QT下编写的一个2048游戏。关键技术 //QT5.5.1编译运行通过。 //部分代码 // 颜色数组 存储每个数字对应的背景色 QColor digitBkg[11] = {QColor::fromRgb(0xFF, 0xFF, 0xCC), QColor::fromRgb(0xFF, 0xFF, 0x99),                             QColor::fromRgb(0xFF, 0xCC, 0xCC), QColor::fromRgb(0xFF, 0xCC, 0x99),                             QColor::fromRgb(0xFF, 0x99, 0x99), QColor::fromRgb(0xFF, 0x99, 0x66),                             QColor::fromRgb(0xFF, 0x66, 0x66), QColor::fromRgb(0xCC, 0x99, 0x66),                      

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 非常全面的工资工程设计文档,从需求分析到测试均有!...
    非常全面的工资系统软件工程设计文档,从需求分析到测试均有!
    2022-01-21 20:14:24下载
    积分:1
  • development oa system before looking at some papers, made some general principle...
    开发oa系统前看的一些论文,讲了一些大概的原理、设计。很泛,只适合了解下相关知识。-development oa system before looking at some papers, made some general principles, design. Pan is only suitable for understanding under relevant knowledge.
    2023-04-12 15:45:04下载
    积分:1
  • 很好很实用的介绍关于用例图的文章,挺全面的。
    很好很实用的介绍关于用例图的文章,挺全面的。-A good introduction to practical use-case diagram on the article, quite comprehensive.
    2022-01-24 08:45:40下载
    积分:1
  • 哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地...
    哲学家进餐问题是荷兰学者Dijkstra 提出的经典问题之一,它是一个信号量机制问题的应用,在操作系统文化史上具有非常重要的地位。对该问题的剖析有助于学生深刻地理解计算机系统中的资源共享、进程同步、死锁等问题,并能熟练地应用信号量来解决生活中的控制流程,即将生活中的控制流程用形式化的方式表达出来。 假设有5个哲学家,他们花费一生中的时光思考和吃饭。这些哲学家共用一个圆桌,每个哲学家都有一把椅子。在桌子中央是一碗通心面,在桌子上放着5只筷子。(如图所示)当一个哲学家思考时,他与其他同事不交互。时而,哲学家会感到饥饿,并试图拿起与他相近的两只筷子(他与邻近左、右之间的筷子)。一个哲学家一次只能拿起一只筷子。显然,他不能从其他哲学家手里拿走筷子。当一个饥饿的哲学家同时有两只筷子时,他就不能不用释放他的筷子而自己吃了。当吃完后,他会放下两只筷子,并再次开始思考。 规定奇数号哲学家先拿他左边的筷子,然后再去拿右边的筷子;而偶数号哲学家则相反。按此规定,将是1、 2号哲学家竞争1号筷子;3、4号哲学家竞争3号筷子。即五位哲学家都先竞争奇数号筷子,获得后,再去竞争偶数号筷子,最后总会有一位哲学家能获得两只筷子而进餐。 -dining philosophers problem is the Netherlands scholars Dijkstra"s one of the classic, It is a signal to the mechanism of application, the operating system in the history of culture has a very important position. Analysis of the problem to help students understand deeply the computer system resource sharing, process synchronization, and other issues Deadlock, skilled and can be applied to solve the signal volume life of the control flow, about the life of the control flow w
    2022-02-12 04:28:55下载
    积分:1
  • 包含文章:《C语言出错中英文对照表》 对于初学c语言时,不理解编译器所报错误原因有很大帮助。...
    包含文章:《C语言出错中英文对照表》 对于初学c语言时,不理解编译器所报错误原因有很大帮助。-contain articles : "C language bilingual mistake" for a novice c language, do not understand the compiler reported errors due to a great help.
    2022-01-28 09:34:53下载
    积分:1
  • Software engineering
    软件工程--实践者的研究方法 本书是一本系统而全面地介绍软件工程理论、技术和实践的专著,是北美学 术界和产业界的畅销书之一。本书作者Roger S.Pressman是软件工程领域国际 知名的咨询专家和作者,著有多本学术专著,本书已是其第四版。本书由黄柏素、梅宏组织翻译。-Software engineering- the practice of the research methodology of this book is a systematic and comprehensive introduction to software engineering theory and practice of technical monographs, is the North American academia and industry, one of the best-selling book. This book the author Roger S. Pressman Software Engineering are internationally renowned experts and authors of the consultation, a number of the academic monograph, the book is its fourth edition. This book by Huangbai Su, MEI Hong Translations Organize.
    2022-08-18 10:56:24下载
    积分:1
  • 离散 数字信号 的 频谱分析 C++ 很好的,不相信你不爱
    离散 数字信号 的 频谱分析 C++ 很好的,不相信你不爱-离散 数字信号 的 频谱分析
    2023-07-05 12:55:02下载
    积分:1
  •  微波滤波器综合的出发点在于滤波函数的选择,滤波函数的性质决定了滤波器的响应。文中提出了一种广 义的巴特沃思滤波函数,在保留其群时延上优势的同时,通过引入有...
     微波滤波器综合的出发点在于滤波函数的选择,滤波函数的性质决定了滤波器的响应。文中提出了一种广 义的巴特沃思滤波函数,在保留其群时延上优势的同时,通过引入有限位置的传输零点,大大的改善巴特沃思函数的带外 特性,使得其可以适应现代通信技术对微波滤波器的要求,在微波滤波器的实际设计中具有很好的应用价值。-Microwave filters and integrated starting point is the choice of filter function, filtering function, the nature of the filter response. This paper presents a generalized Butterworth filter function, while retaining the advantages of their group delay at the same time, through the introduction of limited number of locations of transmission zeros, greatly improve the function of the band Butterworth characteristics, making it to adapt to modern communications microwave filter technology requirements, the actual design of microwave filters has a very good value.
    2022-01-26 04:13:17下载
    积分:1
  • 禁止修改IE主页
    本程序用于锁定IE主页,启动后以10毫秒修改一次主页,本人很菜,纯属小白之作,大神们勿喷。写此源码是为了锁定主页,此程序现在并未完成,BUG也未测试,适合刚开始学得小白。
    2022-01-23 10:41:26下载
    积分:1
  • VC.NET编程讲座,word文,比较简明,可以作为初学或提高的资料...
    VC.NET编程讲座,word文件,比较简明,可以作为初学或提高的资料-Programming VC.NET lectures, word documents, more concise, can serve as a beginner or improve the information
    2022-03-15 03:58:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载