block_pos: Dertermine grid point positions to insure groups are...

Description Usage Arguments Value Examples

Description

Dertermine grid point positions to insure groups are connected

Usage

1
block_pos(total, width)

Arguments

total

Integer, total number of grid points needed.

width

Integer, width of the chart.

Value

tibble with total number of rows and 2 column named x and y respectively.

Examples

1
2
block_pos(100, 10)
block_pos(111, 8)

EmilHvitfeldt/ggtetris documentation built on May 29, 2019, 2:48 p.m.