Copies the packaged standalone browser app to an HTML file. The exported app
runs entirely in the browser, including game rules, rendering, preview
horizon handling, autoplay-lite controls, and browser-local high scores.
Usage
export_static_app(path, overwrite = FALSE)
Arguments
- path
Output HTML file path. This must be supplied explicitly. If
path is an existing directory, the file is written as
mergeGridR-static.html inside that directory.
- overwrite
Whether to replace an existing file.
Value
Invisibly returns the normalized output path.
Examples
out <- tempfile(fileext = ".html")
export_static_app(out)