https://github.com/matt-dray/hokey
:joystick::keyboard: R package: tiny demos of {keypress}
https://github.com/matt-dray/hokey
games keyboard keypress rstats rstats-package
Last synced: 14 days ago
JSON representation
:joystick::keyboard: R package: tiny demos of {keypress}
- Host: GitHub
- URL: https://github.com/matt-dray/hokey
- Owner: matt-dray
- License: other
- Created: 2022-01-19T18:52:15.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-20T14:48:24.000Z (about 3 years ago)
- Last Synced: 2025-02-03T23:36:08.089Z (18 days ago)
- Topics: games, keyboard, keypress, rstats, rstats-package
- Language: R
- Homepage: https://www.rostrum.blog/2022/01/19/keypress/
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - matt-dray/hokey - :joystick::keyboard: R package: tiny demos of {keypress} (R)
README
# {hokey}
[](https://www.repostatus.org/#concept)
[](https://www.rostrum.blog/2022/01/19/keypress/)_Merriam-Webster: 'corny, obviously contrived'._
A [pico R package](https://www.rostrum.blog/2021/04/18/pico-pkg/) to play in your terminal three small interactive minigames that require keypresses as input: `hokey::type()`, `hokey::adventure()` and `hokey::battle()`. Install with:
``` r
remotes::install_github("matt-dray/hokey")
```An experiment and micro-demonstration of [the {keypress} package by Gábor Csárdi](https://github.com/gaborcsardi/keypress).
Run `keypress::has_keypress_support()` to see if your terminal is supported. Does not work in RStudio.