Package: mergeGridR 0.2.0
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:
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
- autoplay_benchmark_results - Example autoplay benchmark results
Last updated from:bd47b5d1b7. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 186 | ||
| linux-devel-x86_64 | OK | 234 | ||
| source / vignettes | OK | 206 | ||
| linux-release-arm64 | OK | 185 | ||
| linux-release-x86_64 | OK | 169 | ||
| wasm-release | OK | 149 |
Exports:autoplay_benchmark_settingsautoplay_gameautoplay_movebenchmark_autoplay_strategiescontinue_gamedrop_tileexport_static_appgame_configget_high_scorenew_gamereset_high_scorerun_drop_number
Dependencies:base64encbslibcachemclicommonmarkcpp11digestevaluatefarverfastmapfontawesomefsggplot2ggWebGLgluegtablehighrhtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlifecyclemagrittrmemoisemimeotelpromisesR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesshinysourcetoolstinytexvctrsviridisLitewithrxfunxtableyaml
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| mergeGridR package | mergeGridR-package mergeGridR |
| Example autoplay benchmark results | autoplay_benchmark_results |
| Autoplay benchmark setting presets | autoplay_benchmark_settings |
| Play a game with autoplay | autoplay_game |
| Choose an autoplay move | autoplay_move |
| Benchmark autoplay strategies | benchmark_autoplay_strategies |
| Continue after game over | continue_game |
| Drop the next tile into a column | drop_tile |
| Export the standalone static app | export_static_app |
| Create Merge Grid game configuration | game_config |
| Read the local high score | get_high_score |
| Start a new Merge Grid game | new_game |
| Reset the local high score | reset_high_score |
| Launch the mergeGridR Shiny app | run_drop_number |
