Play Games in the Console

Games that can be played in the R console. Includes coin flip, hangman, jumble, magic 8 ball, poker, rock paper scissors, shut the box, spelling bee, and 2048.


player

License:MIT

Installation

You can install the development version of player from GitHub with:

# install.packages("pak")
pak::pkg_install("rossellhayes/player")

Games

player includes 10 games that you can player entirely within the R console:

  • Coin Flip
  • Hangman
  • Jumble
  • Magic 8 Ball
  • Poker
  • Rock, Paper, Scissors
  • Shut the Box
  • Spelling Bee
  • 2048
  • Global Thermonuclear War

Install the package and run player::play() to get playing!


Hex sticker image by Flavia Rossell Hayes.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("player")

0.1.0 by Alexander Rossell Hayes, a year ago


https://github.com/rossellhayes/player


Report a bug at https://github.com/rossellhayes/player/issues


Browse source code at https://github.com/cran/player


Authors: Alexander Rossell Hayes [aut, cre, cph] (ORCID: , Alan Beale [dtc] (Word lists) , Kevin Atkinson [dtc] (Word lists) , Luis Von Ahn [dtc] (Word lists) , Flavia Rossell Hayes [ill] , Kristin Bott [ctb] (look_busy() status messages) , Daniel Chen [ctb] , look_busy() status messages) , Steven Smallberg [ctb] (look_busy() status messages)


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports and, cli, crayon, dplyr, glue, nnet, plu, purrr, R6, rlang, stats, stringr, tools, twenty48, utils, withr

Suggests job, rstudioapi, testthat


See at CRAN