搜索资源列表
compute
- 一个计算24点的程序源代码,适合初学者学习。-A calculation of the 24-point program source code, suitable for beginners to learn.
24
- 计算24点游戏:任意输入4位数字,利用+,-,*,/四则运算使之得到结果 24。输出所有不同算法的计算表达式,可为运算优先级而使用括号。-Calculation of 24-point game: any input four digits, use+,-,*,/four operations so get results 24. Output all the different algorithms compute expressions for computing priorities an
2
- Background Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e., Area(R1∩R2∩…∩Rn) The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines. For example, the intersectio
Tetris
- 人机对战的俄罗斯方块游戏,AI策略采用数学公式计算每个可以放置方块的位置的得分,路径搜索采用A星搜索,从而实现人机对战-Human battle with AI in this tetris game.AI use mathematical formulas to compute the score of every enable position which can put block .Then I use A* algorithm to search path.