Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 816 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 816 Bytes

gamer

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.

Installation

devtools::install_github("darrenproj/gamer")

1. Tetris

gamer::play_tetris()

Keyboard Event

  • Left Right Down : Move
  • Up : Rotate
  • Space : Fall
  • A : Alter
  • Q : Quit
  • P : Pause

Scoring System