Classic Video Games Implemented with R
The games marked are supported by animation effect using the idle event handler in
getGraphicsEvent {grDevices}
. This feature could be CPU-intensive, and currently does not apply on Windows.
devtools::install_github("darrenproj/gamer")
gamer::play_tetris()
- Left Right Down : Move
- Up : Rotate
- Space : Fall
- A : Alter
- Q : Quit
- P : Pause