An R implementation of the popular WORDLE game.
To start a game, run the following R code in an interactive session.
library(wordler)
play_wordler()
The introductory instructions are displayed.
You must then attempt to correctly guess a five-letter word in (at most) six attempts.
After each guess, the letters are coloured to indicate how well the guess matches the target word.
Green letters are in the word and in the right position (but may be repeated elsewhere). Yellow letters are present (at least once) somewhere in the target word.
Each guess must be a valid word.
You can install directly from github using the devtools R package.
# install.packages("devtools")
devtools::install_github("DavidASmith/wordler")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.