Play minesweeper in R, replay your games and save them to GIF.
You can install minesweeper with:
install.packages("minesweeper")
You can install the development version of minesweeper from GitHub with:
# install.packages("devtools")
::install_github("hrryt/minesweeper") devtools
library(minesweeper)
dev.new(noRStudioGD = TRUE)
<- play_minesweeper()
recording replay_minesweeper(recording)
# install.packages("gifski")
save_minesweeper_gif(recording)