assess_guess {wordler}R Documentation

Assess a guess against the target word

Description

Assesses the guess in list game$guess (index from game$guess_count) against the target word in game$target.

Usage

assess_guess(game)

Arguments

game

'wordler' game object (as generated by new_wordler).

Details

Adds the assessment to the corresponding list item in game$assess. This assessment should be considered as how the guesses should be displayed to the user and replicates the behaviour of the WORDLE game (https://www.powerlanguage.co.uk/wordle/).

For each letter in each guess, one of the following assessments are made:

Value

'wordler' game object.


[Package wordler version 0.3.1 Index]