Create Merge Grid game configuration
Usage
game_config(
rows = 7L,
cols = 5L,
next_count = 1L,
spawn_distribution = c("weighted", "uniform", "weighted_high"),
spawn_weight_decay = 0.55,
max_spawn_value = 256L,
max_continues = 3L,
continue_clear_rows = 3L
)Arguments
- rows, cols
Board size. Row 1 is the bottom row.
- next_count
Preview horizon: number of upcoming tiles kept in the queue.
- spawn_distribution
Sampling strategy for newly provided tiles.
- spawn_weight_decay
Geometric weight decay for
"weighted"and"weighted_high"spawning. Smaller values more strongly favor the chosen end of the allowed tile range.- max_spawn_value
Maximum tile value that can enter the queue.
- max_continues
Number of manual continues available after game over.
- continue_clear_rows
Number of top rows cleared by each continue.
Value
A list used by new_game().