hrryt / minesweeper

Play Minesweeper
Other
0 stars 0 forks source link

Release minesweeper 1.0.0 #1

Open hrryt opened 2 months ago

hrryt commented 2 months ago

First release:

Prepare for release:

Submit to CRAN:

Wait for CRAN...

Maarten14C commented 2 months ago

I'm having trouble playing this on a Mac - it can only play upon opening an x11() window. I suggest adding checks for which displays are available.

Using a trackpad, I can place flags on any of the tiles, but none of the other functions seem to work.

hrryt commented 2 months ago

Hi Maarten, play_minesweeper() errors intentionally if the current device does not support event handling; see ?play_minesweeper. Devices that support event handling include windows(), X11(type = "Xlib") and X11(type = "cairo") (see ?getGraphicsEvent), which explains why it worked upon opening an x11() window. Perhaps I should make this clearer in the documentation.

I have played this using a trackpad with no issues, so I'm not sure how to help in that regard. Flagging is the only function that uses the right mouse button rather than the left, if that helps.