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

https://github.com/andreghl/wordle

This is an R package that replicates the New York Times Wordle game in the R Console.
https://github.com/andreghl/wordle

Last synced: 2 months ago
JSON representation

This is an R package that replicates the New York Times Wordle game in the R Console.

Awesome Lists containing this project

README

          

# Wordle in the R Console

I created this project to learn how to create a package in R. I do not aim to provide new functionality to R *(it is quite easy to find other similar projects on Github)*. If you wish to install this package on your device, run:

```r
# install.packages("devtools")
library(devtools)

install_github("andreghl/wordle")

library(wordle)
```

The game can be played once the package is loaded by running ```wordle()```. In the terminal, the game looks as follows:

![Example](img/game.png)

For each attempt, the output is kept at a minimum, only presenting the necessary information. Also, the program does not check whether the attempted word is within the list of available words. This task is left to the player.