mergeGridR: Grid-Based Number Merge Puzzle Simulation

Provides tools to simulate, analyse, visualise, and benchmark grid-based number merge puzzles. The package implements generic grid mechanics, tile-spawning rules, merge rules, scoring functions, reproducible simulation utilities, and local 'Shiny' and 'WebGL' interfaces for interactive use. It is intended for teaching, algorithmic experimentation, and game-theoretic examples. The autoplay helpers use standard heuristic search and Monte Carlo simulation ideas described in Russell and Norvig (2021, ISBN:9780134610993) and Robert and Casella (2004, ISBN:9780387212395).

Version: 0.2.0
Depends: R (≥ 4.1.0)
Imports: ggplot2, ggWebGL, parallel, Rcpp, shiny, tools
LinkingTo: Rcpp
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-06-24
DOI: 10.32614/CRAN.package.mergeGridR (may not be active yet)
Author: Frederic Bertrand ORCID iD [cre, aut]
Maintainer: Frederic Bertrand <frederic.bertrand at lecnam.net>
BugReports: https://github.com/fbertran/mergeGridR/issues
License: GPL (≥ 3)
URL: https://github.com/fbertran/mergeGridR/, https://fbertran.github.io/mergeGridR/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: mergeGridR results

Documentation:

Reference manual: mergeGridR.html , mergeGridR.pdf
Vignettes: Simulating and Solving Number Merge Puzzles with mergeGridR (source, R code)
Standalone WebGL Applet (source, R code)

Downloads:

Package source: mergeGridR_0.2.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=mergeGridR to link to this page.