/tg/ Station 13 - Modules - TypesVar Details - Proc Details

loot

Vars

possible_lootPossible loot from the crate, selected according to a weighted list: [typepath] = probability %

Procs

bulls_and_cowsImplements bulls and cows algorithm to compare guess against actual code
generate_codeGenerates a random code of specified length with no repeating digits
validate_inputChecks if user input is a valid code attempt

Var Details

possible_loot

Possible loot from the crate, selected according to a weighted list: [typepath] = probability %

Proc Details

bulls_and_cows

Implements bulls and cows algorithm to compare guess against actual code

generate_code

Generates a random code of specified length with no repeating digits

validate_input

Checks if user input is a valid code attempt