登录
首页 » c++ » game2048

game2048

于 2023-08-08 发布 文件大小:1.71 kB
0 96
下载积分: 2 下载次数: 1

代码说明:

#include #include #include #include #include #include #include #include using namespace std; int table[16]={0},Score=0,Max_number=0; bool allprint=true; int&at(int* pn,int x,int y=-1,bool rev=false){     return rev?(~y?pn[x*4+y]:pn[x]):(~y?pn[y*4+x]:pn[x]); } bool canMove(int* pn,int direction){     for(int i=0,sum=0;i

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

发表评论

0 个回复

  • KK
    说明:  基于msp430的按键程序,按下按键后,实现led的反转。使用下降沿中断。 (Msp430-based key program, press the button, the realization led reversal. With falling edge interrupt.)
    2011-07-24 19:51:07下载
    积分:1
  • Example_2833xSci_FFDLB_int
    说明:  实现DSP28335内的SCI通信程序,经过测试后可以使用(Implement the SCI communication program in DSP28335, which can be used after testing)
    2020-05-28 14:34:00下载
    积分:1
  • STM32F103的CAN总线
    让STM32F1的CAN工作在环回模式/普通模式下,通过KEY_UP按键切换模式。默认是环回模式,在环回模式下,按下KEY0,则可以在LCD模块上面看到自发自收的消息。如果是普通模式,那么需要两个开发板,并且用线将两个开发板的CAN接口连接起来,同时需要设置板上的P6端口连接在CAN上面,在普通模式下,按下一个开发板的KEY0,可以在另外一个开发板上看到收到的信息。 
    2022-01-24 16:28:24下载
    积分:1
  • xt1-5
    自动叠加,很好用的,哈哈,费了老大的劲搞的啊!!!!!(Automatic stacking )
    2011-11-26 00:34:01下载
    积分:1
  • mubiaogenzong
    该系统基于vc++开发环境具有目标跟踪检测测量车牌识别人脸定位火源检测等功能系统,还有一套仿生复眼全景目标跟踪系统(The system is based on vc++ development environment with the target tracking and detection measurement LPR face localization features such as fire detection systems, as well as a panoramic view of the target tracking system bionic compound eye)
    2013-08-08 10:54:11下载
    积分:1
  • lax-wendroff
    lax-wendroff求前台阶超声速流动(lax-wendroff format)
    2021-04-09 16:18:59下载
    积分:1
  • 11-TFT彩色屏
    基于stm32l476的显示屏例程,接口为SPI,使用最新的HAL库,有cubemx工程文件可供参阅(Based on the display routine of stm32l476, the interface is SPI, using the latest HAL library, there are cubemx engineering files available for reference)
    2020-06-20 11:00:02下载
    积分:1
  • sm2
    说明:  国密算法SM2, 包括 MIRACL库, SM3算法, 用于各种加密通讯(National secret algorithm SM2)
    2020-07-20 20:48:46下载
    积分:1
  • MPC_project_dehghani
    This mfile is the simulation of CSTR control with new GPC
    2013-07-26 16:16:16下载
    积分:1
  • test_cpu_speed
    描述如何实现一个测试CPU速度的应用程序的开发。(Describes how to realize a test CPU speed of application development.)
    2008-05-18 12:27:02下载
    积分:1
  • 696516资源总数
  • 106741会员总数
  • 17今日下载