Package: mergeGridR 0.2.0

Frederic Bertrand

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).

Authors:Frederic Bertrand [cre, aut]

mergeGridR_0.2.0.tar.gz
mergeGridR_0.2.0.tar.gz(r-4.7-arm64)mergeGridR_0.2.0.tar.gz(r-4.7-x86_64)mergeGridR_0.2.0.tar.gz(r-4.6-arm64)mergeGridR_0.2.0.tar.gz(r-4.6-x86_64)
mergeGridR_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
mergeGridR/json (API)

# Install 'mergeGridR' in R:
install.packages('mergeGridR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fbertran/mergegridr/issues

Pkgdown/docs site:https://fbertran.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cpp

3.00 score 10 scripts 12 exports 50 dependencies

Last updated from:bd47b5d1b7. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK186
linux-devel-x86_64OK234
source / vignettesOK206
linux-release-arm64OK185
linux-release-x86_64OK169
wasm-releaseOK149

Exports:autoplay_benchmark_settingsautoplay_gameautoplay_movebenchmark_autoplay_strategiescontinue_gamedrop_tileexport_static_appgame_configget_high_scorenew_gamereset_high_scorerun_drop_number

Dependencies:base64encbslibcachemclicommonmarkcpp11digestevaluatefarverfastmapfontawesomefsggplot2ggWebGLgluegtablehighrhtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesshinysourcetoolstinytexvctrsviridisLitewithrxfunxtableyaml

Simulating and Solving Number Merge Puzzles with mergeGridR

Rendered frommergeGridR.Rmdusingknitr::rmarkdownon Jun 24 2026.

Last update: 2026-06-24
Started: 2026-06-24

Standalone WebGL Applet

Rendered fromstandalone-applet.Rmdusingknitr::rmarkdownon Jun 24 2026.

Last update: 2026-06-24
Started: 2026-06-24