Algorithms
PreviewGrid and ordering algorithms for games: cells, paths, flood fill, pairing and shuffling
16 nodes in 3 categories
- Ships with
- Divooka ExploreDivooka Compute
- Support tier
- Tier 3 (proposed)
- Package
- Crime Engine
Crime Engine
A detective game framework: opening, editing, publishing and previewing.
Grids
Count CellsHow many cells hold a value.Find CellsThe cells holding a value, row by row from the top.Find Grid PathThe cheapest path between two cells, moving four ways through cells holding the open value; the two ends may hold anything.Grid From ValuesA grid holding the given values, row by row from the top.Get CellWhat a cell holds; the grid's outside value for a cell beyond it.Make GridA grid with every cell holding one value.Pair Neighbouring CellsAs many pairs of side-by-side cells holding a value as can be made with no cell used twice: a tiling by dominoes.Grid RegionThe cells holding the same value as a starting cell and joined to it four ways: what a paint bucket fills.Set CellThe grid with one cell holding a new value.Set CellsThe 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.Shuffle Grid CellsThe grid with what its cells hold shuffled among them, leaving every cell that holds the kept value where it is.Grid ValuesEvery cell's value, row by row from the top.
Orders and Matchings
Maximum MatchingAs 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.Random PermutationThe numbers 0 to count - 1 in a random order.Random SampleSome of the numbers 0 to from - 1, none twice, in a random order.Shuffle NumbersThe numbers in a random order.