wordle

package module
v0.0.0-...-e59ba9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Using programming to cheat at Wordle. In Russian

Word list sources

Notable results

The following starting sequences have high probability of hitting all letters of target word:

[акрил сонет] 65.4
[карст олеин] 65.4
[тиран лесок] 65.4
[натес ролик] 65.4
[сатин креол] 65.4
[сотка бренд пилум] 80.8
[белка тромп индус] 80.8
[полка тембр индус] 80.8
[бокал типун смерд] 80.8
[народ склеп битум] 80.8
[кобра шпунт сдвиг земля] 90.2
[закол бремя шпунт сдвиг] 90.2
[виток спазм бренд гуляш] 90.2
[шланг метиз обряд впуск] 90.2
[блеск магия вздор шпунт] 90.2

Documentation

Index

Constants

View Source
const WordSize = 5

Variables

View Source
var RussianWordLists embed.FS

Functions

func RussianWords

func RussianWords() *[]Word

Types

type CharFreq

type CharFreq map[rune]Frequency

func (*CharFreq) Score

func (cf *CharFreq) Score(words ...Word) Frequency

func (*CharFreq) String

func (cf *CharFreq) String() string

func (*CharFreq) Update

func (cf *CharFreq) Update(words *[]Word)

type Frequency

type Frequency float32

func (Frequency) String

func (value Frequency) String() string

type Word

type Word [WordSize]rune

func (*Word) Contains

func (w *Word) Contains(char rune) bool

func (*Word) Parse

func (w *Word) Parse(input string) error

func (Word) String

func (w Word) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL