算法
预览游戏常用的网格与排序算法:单元格、路径、泛洪填充、配对和洗牌
3 个类别,共 16 个节点
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 支持等级
- 第 3 级(拟定)
- 所属包
- 罪案引擎
罪案引擎
侦探游戏框架:打开、编辑、发布与预览。
网格
统计格子How many cells hold a value.查找格子The cells holding a value, row by row from the top.查找网格路径The cheapest path between two cells, moving four ways through cells holding the open value; the two ends may hold anything.由数值生成网格A grid holding the given values, row by row from the top.读取格子What a cell holds; the grid's outside value for a cell beyond it.创建网格A grid with every cell holding one value.相邻格子配对As many pairs of side-by-side cells holding a value as can be made with no cell used twice: a tiling by dominoes.网格区域The cells holding the same value as a starting cell and joined to it four ways: what a paint bucket fills.设置格子The grid with one cell holding a new value.设置多个格子The grid with several cells set at once, the nth cell to the nth value - or every cell to the one value when only one is given.打乱网格格子The grid with what its cells hold shuffled among them, leaving every cell that holds the kept value where it is.网格数值Every cell's value, row by row from the top.
排列与匹配
最大匹配As many pairs as can be made between a left set and a right set, each pair along an allowed edge and nothing used twice: workers to jobs, players to seats.随机排列The numbers 0 to count - 1 in a random order.随机抽样Some of the numbers 0 to from - 1, none twice, in a random order.打乱数字The numbers in a random order.