An open API service indexing awesome lists of open source software.

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}

Awesome Lists containing this project

README

        

# {hokey}

[![Project Status: Concept – Minimal or no implementation has been done yet, or the repository is only intended to be a limited example, demo, or proof-of-concept.](https://www.repostatus.org/badges/latest/concept.svg)](https://www.repostatus.org/#concept)
[![Blog
post](https://img.shields.io/badge/rostrum.blog-post-008900?labelColor=000000&logo=data%3Aimage%2Fgif%3Bbase64%2CR0lGODlhEAAQAPEAAAAAABWCBAAAAAAAACH5BAlkAAIAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAC55QkISIiEoQQQgghRBBCiCAIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAAh%2BQQJZAACACwAAAAAEAAQAAAC55QkIiESIoQQQgghhAhCBCEIgiAIgiAIQiAIgSAIgiAIQiAIgRAEQiAQBAQCgUAQEAQEgYAgIAgIBAKBQBAQCAKBQEAgCAgEAoFAIAgEBAKBIBAQCAQCgUAgEAgCgUBAICAgICAgIBAgEBAgEBAgEBAgECAgICAgECAQIBAQIBAgECAgICAgICAgECAQECAQICAgICAgICAgEBAgEBAgEBAgICAgICAgECAQIBAQIBAgECAgICAgIBAgECAQECAQIBAgICAgIBAgIBAgEBAgECAgECAgICAgICAgECAgECAgQIAAAQIKAAA7)](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.