internal/

directory
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 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 three effort tiers and the hint feature; the tiers differ in budget, depth, candidate width and how much of the evaluation they are allowed to see.
Package bot plays TwixT. One alpha-beta search backs three effort tiers and the hint feature; the tiers differ in budget, depth, candidate width and 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 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.

Jump to

Keyboard shortcuts

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