Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidcroda/sshwordle
/ functions
Functions
47 in github.com/davidcroda/sshwordle
⨍
Functions
47
◇
Types & classes
13
↓ 3 callers
Method
setGuessColor
(guess *Guess, color guessColor)
src/sshwordle/game.go:249
↓ 2 callers
Function
NewGame
(width int, height int, session ssh.Session, backend Backend)
src/sshwordle/game.go:95
↓ 2 callers
Method
apiRequest
https://wordsapiv1.p.mashape.com/words/?letters=6 ** {"success":false,"message":"word not found"} {"word":"test","definitions":[{"definition":"trying
src/sshwordle/backends.go:83
↓ 2 callers
Method
center
(output string)
src/sshwordle/game.go:386
↓ 2 callers
Method
footerView
()
src/sshwordle/game.go:300
↓ 2 callers
Function
guessToWord
(guess []*Guess)
src/sshwordle/utils.go:75
↓ 2 callers
Method
headerView
()
src/sshwordle/game.go:294
↓ 2 callers
Function
max
(a, b int)
src/sshwordle/utils.go:60
↓ 1 callers
Method
GetRandomWord
(length int)
src/sshwordle/backends.go:15
↓ 1 callers
Method
Init
()
src/sshwordle/game.go:172
↓ 1 callers
Function
NewApiBackend
()
src/sshwordle/backends.go:65
↓ 1 callers
Function
NewStaticBackend
()
src/sshwordle/backends.go:40
↓ 1 callers
Function
StartServer
(host string, port int, useApi bool)
src/sshwordle/server.go:21
↓ 1 callers
Method
ValidateWord
(guess []*Guess)
src/sshwordle/backends.go:16
↓ 1 callers
Method
View
()
src/sshwordle/game.go:151
↓ 1 callers
Method
checkLetterIncorrectPosition
(guess *Guess, used map[int]bool)
src/sshwordle/game.go:283
↓ 1 callers
Function
getGameResults
(db *sql.DB, identifier string)
src/sshwordle/results.go:45
↓ 1 callers
Method
getGameStats
()
src/sshwordle/results.go:76
↓ 1 callers
Method
gradeCurrentGuess
()
src/sshwordle/game.go:256
↓ 1 callers
Method
handleBackspace
()
src/sshwordle/game.go:234
↓ 1 callers
Method
handleEnter
()
src/sshwordle/game.go:214
↓ 1 callers
Method
handleKeyPress
(msg tea.KeyMsg)
src/sshwordle/game.go:182
↓ 1 callers
Method
handleLetterPress
(k string)
src/sshwordle/game.go:242
↓ 1 callers
Function
isLetter
(key string)
src/sshwordle/utils.go:67
↓ 1 callers
Function
makeGuessesSlice
()
src/sshwordle/utils.go:26
↓ 1 callers
Function
makeIdentifier
(session ssh.Session)
src/sshwordle/utils.go:40
↓ 1 callers
Function
makeKeyboard
()
src/sshwordle/utils.go:16
↓ 1 callers
Function
migrateDb
()
main.go:29
↓ 1 callers
Function
openDb
()
src/sshwordle/results.go:10
↓ 1 callers
Method
renderGameBoard
()
src/sshwordle/game.go:355
↓ 1 callers
Method
renderGrid
()
src/sshwordle/game.go:368
↓ 1 callers
Function
renderKeyboard
(keyboard map[string]guessColor)
src/sshwordle/utils.go:46
↓ 1 callers
Method
renderPostGame
()
src/sshwordle/game.go:320
↓ 1 callers
Method
resizeViewport
(msg tea.WindowSizeMsg)
src/sshwordle/game.go:307
↓ 1 callers
Function
saveGameResult
(db *sql.DB, identifier string, result *GameResult)
src/sshwordle/results.go:18
↓ 1 callers
Function
saveGameResults
(db *sql.DB, identifier string, result *GameResult)
src/sshwordle/results.go:32
↓ 1 callers
Method
setAllGuesses
(color guessColor)
src/sshwordle/game.go:176
↓ 1 callers
Function
sshwordleTeaHandler
(useApi bool)
src/sshwordle/server.go:58
Function
GameComplete
()
src/sshwordle/game.go:164
Method
GetRandomWord
(_ int)
src/sshwordle/backends.go:24
Method
GetRandomWord
(length int)
src/sshwordle/backends.go:110
Function
InvalidWord
()
src/sshwordle/game.go:168
Method
Update
(msg tea.Msg)
src/sshwordle/game.go:117
Method
ValidateWord
(guess []*Guess)
src/sshwordle/backends.go:28
Method
ValidateWord
(guess []*Guess)
src/sshwordle/backends.go:123
Function
main
()
main.go:13
Function
publicKeyHandler
(_ctx ssh.Context, _key ssh.PublicKey)
src/sshwordle/server.go:54