登录
首页 » c++ » game2048

game2048

于 2023-08-08 发布 文件大小:1.71 kB
0 132
下载积分: 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 个回复

  • 液压缸演示程序
    液压缸演示程序,可输入液压缸流量和面积,输出流速,并可进行动画演示。
    2023-07-05 05:30:03下载
    积分:1
  • pidloopc
    外国10年前用C写的PID调节器源码,带测试,有详细注释.现在难找到(10 years ago with foreign PID controller written in C source code with the test, with detailed notes now difficult to find)
    2011-10-09 16:27:43下载
    积分:1
  • camshift-meanshift全自动跟踪
    背景差分提取前景,camshift跟踪,解决了传统的 CamShift 目标跟踪算法在跟踪目标之前需要手动选择目标区域的问题,边检侧边跟踪,效果较好
    2022-04-01 00:52:13下载
    积分:1
  • GUI_Interface_Programming_classic_source_data
    GUI接口编程设计经典源码资料GUI Interface Programming classic source data(GUI Interface Programming classical source information GUI Interface Programming classic source data)
    2010-08-03 14:24:47下载
    积分:1
  • 2.8TFT_ADC_Wave
    ADC0通道采集电压以波形形式显示到2.8寸TFT触摸液晶屏上,ADC输入管脚为60管脚(ADC0 channel acquisition voltage to waveform display to the 2.8-inch TFT touch LCD screen, ADC input pin for the 60-pin)
    2017-08-26 19:35:35下载
    积分:1
  • XYDispDriver
    在vc中简化调用com组件,极其方便(simplification of the vc call com components, extremely convenient)
    2005-03-05 05:20:40下载
    积分:1
  • lap_cpp
    线性分配算法的C++版本,在MATLAB调用mex命令编译后可以直接在MATLAB中运行,函数assianstment=lap(cost),cost为匹配的代价矩阵,assianstment为输出匹配矩阵(Linear assignment algorithm C++ version of the call in the MATLAB mex command can be compiled to run directly in the MATLAB function assianstment = lap (cost), cost for the match cost matrix, assianstment matrix for the output matching)
    2010-06-09 17:03:33下载
    积分:1
  • 实验2
    LL1文法分析器,可以识别LL1文法,求出first集与follow集,生成分析表。(LL1 grammar analyzer, you can identify the LL1 grammar, find the first set and follow set, generate an analysis table.)
    2020-06-30 09:00:02下载
    积分:1
  • darwin
    darwin流媒体服务器,在ubuntu上面测试过,可以编译,安装,使用
    2023-05-06 23:20:06下载
    积分:1
  • 158012740vrml
    说明:  有约束单一尺寸矩形样排的算法研究,非常实用简单供参考(Research on the Algorithm of Single Size Rectangular Spreading)
    2019-05-01 19:23:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载