# NOT RUN {
## should use Xlib for the x11() device under *nix, e.g
if (interactive()) {
if (.Platform$OS.type == "windows")
x11() else x11(type = "Xlib")
mine_sweeper()
}
# }
Run the code above in your browser using DataCamp Workspace