You can install maze
from github with:
devtools::install_github("ddiez/maze")
library(maze)
set.seed(123)
g <- make_maze(5, 5)
plot_maze(g, tile.show = TRUE, path.show = TRUE)
Maze is mainly a toy project for me to learn stuff, and a work in progress. You can try a live version here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.