2 Fork me on GitHub 6
摘要: #pragma once #include "Block.h" #include "Back.h" #include <limits.h> #define LANDINGHEIGHT -45 #define ROWSELIMINATED 34 #define ROWTRANSITIONS -32 # 阅读全文
posted @ 2023-03-16 21:04 sky灬饮冰 阅读(303) 评论(0) 推荐(0)
摘要: 基于Pierre Dellacherie的俄罗斯方块-05Pierre Dellacherie算法 Pierre Dellacherie算法感觉上像是一个遍历算法,给与各个参数不同的权重,使得更加合理的摆放方块 评估主要是6个参数: LandingHeight:下落后的高度,方块最后不能下落之后,方 阅读全文
posted @ 2023-03-16 11:38 sky灬饮冰 阅读(1435) 评论(0) 推荐(0)
摘要: 完善剩下的上下左右的操作 设置定时器 消除bug #pragma once #include "CBlock.h" #include "CBackGround.h" #include <wtypes.h> class CTetris { public: CTetris(); ~CTetris(); 阅读全文
posted @ 2023-03-16 00:34 sky灬饮冰 阅读(108) 评论(0) 推荐(0)