Help us shape the future of Go! Take the 2026 Go Developer Survey

internal/

directory
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT

Directories

Path Synopsis
Package app is the interactive shell: the screens a player moves between and the state they share.
Package app is the interactive shell: the screens a player moves between and the state they share.
Package bot plays TwixT. One alpha-beta search backs four effort tiers and the hint feature; the tiers differ in the guards they search under — how long they may think, how deep they may look, how many nodes they may visit — in how many candidate moves they keep, and in how much of the evaluation they are allowed to see.
Package bot plays TwixT. One alpha-beta search backs four effort tiers and the hint feature; the tiers differ in the guards they search under — how long they may think, how deep they may look, how many nodes they may visit — in how many candidate moves they keep, and in how much of the evaluation they are allowed to see.
Package cli builds the command line.
Package cli builds the command line.
Package cover draws the artwork behind the menu.
Package cover draws the artwork behind the menu.
Package e2e drives the compiled binary inside a real terminal so that rendering, key handling and resize behaviour can be asserted on the frames a user would actually see.
Package e2e drives the compiled binary inside a real terminal so that rendering, key handling and resize behaviour can be asserted on the frames a user would actually see.
Package gamestore keeps games on disk: finished games worth replaying, games interrupted part way through, and correspondence games waiting for the opponent's next move code.
Package gamestore keeps games on disk: finished games worth replaying, games interrupted part way through, and correspondence games waiting for the opponent's next move code.
Package humantime renders an instant as the rough age a person would say out loud: "just now", "3 minutes ago", "yesterday".
Package humantime renders an instant as the rough age a person would say out loud: "just now", "3 minutes ago", "yesterday".
Package leaderboard records finished games and ranks the players who played them.
Package leaderboard records finished games and ranks the players who played them.
Package learn holds the interactive tutorial: an ordered set of lessons, each a sequence of steps that pairs a position on the board with a short piece of prose, and where useful with a task the learner answers by choosing a hole.
Package learn holds the interactive tutorial: an ordered set of lessons, each a sequence of steps that pairs a position on the board with a short piece of prose, and where useful with a task the learner answers by choosing a hole.
Package netplay carries a TwixT game between two machines.
Package netplay carries a TwixT game between two machines.
Package profile stores the local player identities twixtui plays under.
Package profile stores the local player identities twixtui plays under.
Package study keeps a player's own notes and bookmarks on saved games.
Package study keeps a player's own notes and bookmarks on saved games.
Package theme holds the colour schemes the board and the interface are drawn with, and remembers which one the player chose.
Package theme holds the colour schemes the board and the interface are drawn with, and remembers which one the player chose.
Package ui is the reusable terminal view layer for TwixT: a board renderer with two drawing scales and a scrolling viewport, a layout engine that fits board and information panel into any terminal size, and a data-driven keymap.
Package ui is the reusable terminal view layer for TwixT: a board renderer with two drawing scales and a scrolling viewport, a layout engine that fits board and information panel into any terminal size, and a data-driven keymap.
Package winfs holds the Windows filesystem primitives twixtui's stores need and the standard library does not offer: a whole-file lock, opening a file for reading in a way that does not block its replacement, and replacing a file in place.
Package winfs holds the Windows filesystem primitives twixtui's stores need and the standard library does not offer: a whole-file lock, opening a file for reading in a way that does not block its replacement, and replacing a file in place.
winfstest
Package winfstest makes a directory refuse to be written to, which is what a test needs in order to cover a configuration directory on read-only media or belonging to somebody else.
Package winfstest makes a directory refuse to be written to, which is what a test needs in order to cover a configuration directory on read-only media or belonging to somebody else.

Jump to

Keyboard shortcuts

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