loot 
Vars | |
| game_mode | what game mode the crate is using, "numbers" for deca-code (bulls & cows), "words" for wordle |
|---|---|
| previous_attempts | Associated list of previous attempts w/ bulls & cows |
| spawned_loot | Whether or not we've spawned the loot inside the crate |
Procs | |
| bulls_and_cows | Implements bulls and cows algorithm to compare guess against actual code |
| check_word_guess | Implements Wordle algorithm - returns letter states |
| generate_code | generating numbers that do not repeat |
| generate_word | we pick our word here from wordle_words |
| validate_word_input | making sure that the player actually enters a 5 letter word |
Var Details
game_mode 
what game mode the crate is using, "numbers" for deca-code (bulls & cows), "words" for wordle
previous_attempts 
Associated list of previous attempts w/ bulls & cows
spawned_loot 
Whether or not we've spawned the loot inside the crate
Proc Details
bulls_and_cows
Implements bulls and cows algorithm to compare guess against actual code
check_word_guess
Implements Wordle algorithm - returns letter states
generate_code
generating numbers that do not repeat
generate_word
we pick our word here from wordle_words
validate_word_input
making sure that the player actually enters a 5 letter word