MCPcopy Index your code
hub / github.com/JoshuaPostel/texaform

github.com/JoshuaPostel/texaform @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
622 symbols 1,639 edges 63 files 47 documented · 8%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Notice: Texaform is in early development. It is playable and feedback is greatly appreciated.

TEXAFORM

A factory game automated by your code

Von Neumann probe 147 just landed on exoplanet TOI-1846 b. Control agents on the planet's surface by sending simple text commands over TCP. Gather resources, process intermediates, conduct research, and produce more agents.

To Run

git clone git@github.com:JoshuaPostel/texaform.git
cd texaform
# requires rust 1.88
cargo run --release

The Texaform user interface runs in the terminal. Appearance will vary based on terminal font and colors.

Texaform will use local ports 3333 and upward (one per agent) for TCP communication with your code. Ports 3333-3335 must not be in use when launching texaform.

Influences

Extension points exported contracts — how you extend this code

HandleInput (Interface)
(no doc) [4 implementers]
src/widgets/mod.rs
Agent (Interface)
(no doc) [4 implementers]
src/agents/mod.rs
SetCell (Interface)
(no doc) [2 implementers]
src/draw/mod.rs

Core symbols most depended-on inside this repo

push
called by 65
src/agents/mod.rs
bg
called by 53
src/entities/mod.rs
fg
called by 51
src/entities/mod.rs
render_widget_clamped
called by 46
src/ui/mod.rs
insert
called by 39
src/surface/grid.rs
send
called by 36
python/dog.py
style
called by 33
src/widgets/list.rs
contains
called by 28
python/utils.py

Shape

Method 394
Function 119
Class 71
Enum 35
Interface 3

Languages

Rust86%
Python14%

Modules by API surface

src/surface/mod.rs37 symbols
src/agents/mod.rs29 symbols
src/agents/laser_cutter.rs28 symbols
src/tech_tree.rs27 symbols
src/widgets/list.rs26 symbols
python/dog.py25 symbols
src/app.rs23 symbols
src/agents/dog.rs22 symbols
src/surface/state.rs20 symbols
src/entities/shape.rs18 symbols
python/utils.py18 symbols
src/surface/grid.rs17 symbols

For agents

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

⬇ download graph artifact