Skip to contents

Start a new Merge Grid game

Usage

new_game(config = game_config(), seed = NULL)

Arguments

config

A configuration list created by game_config().

seed

Optional positive integer seed for reproducible tile queues.

Value

A game-state list containing the board, score, queue, and status.