MCPcopy Index your code
hub / github.com/davidcroda/sshwordle

github.com/davidcroda/sshwordle @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
60 symbols 135 edges 6 files 1 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

SSHWordle

Terminal based wordle clone. Uses the amazing charm.sh libraries to render and expose the game over SSH. Stores user statistics by IP. Supports pluggable backends. Currently includes a static file backend which uses the word lists from the original game, as well as an API based backend which uses the WordsAPI.com API to generate a random word as well as validate guesses.

Usage

./sshwordle -h
Usage of ./sshwordle:
  -api
        Use WordAPI to generate and verify words. If not specified uses hardcoded list of words from original Wordle game
  -host string
        Host address for SSH server to listen (default "127.0.0.1")
  -port int
        Port for SSH server to listen (default 1337)

Building

make build

Extension points exported contracts — how you extend this code

Backend (Interface)
(no doc) [2 implementers]
src/sshwordle/backends.go

Core symbols most depended-on inside this repo

setGuessColor
called by 3
src/sshwordle/game.go
apiRequest
called by 2
src/sshwordle/backends.go
NewGame
called by 2
src/sshwordle/game.go
headerView
called by 2
src/sshwordle/game.go
footerView
called by 2
src/sshwordle/game.go
center
called by 2
src/sshwordle/game.go
max
called by 2
src/sshwordle/utils.go
guessToWord
called by 2
src/sshwordle/utils.go

Shape

Method 26
Function 21
Struct 10
TypeAlias 2
Interface 1

Languages

Go100%

Modules by API surface

src/sshwordle/game.go27 symbols
src/sshwordle/backends.go13 symbols
src/sshwordle/results.go8 symbols
src/sshwordle/utils.go7 symbols
src/sshwordle/server.go3 symbols
main.go2 symbols

For agents

$ claude mcp add sshwordle \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact