Tables are cards on a felt board, joined by copper pipes that carry a roll from one table to the next. Play mode rolls with a flicker and a bead down each pipe; Build mode edits names, results, ranges and pipes. - core/: data model (RollTable, TableEntry, TowerBoard), sample board with a d100 table of 100 trinkets and a weighted d100 range table, and a Roller with a depth limit - ui/: board with pan and zoom, pipe and port layers, collapsible table cards, result tray with earlier rolls, undo toasts, and a Collapse all / Expand all button - assets/fonts/: Rokkitt and Atkinson Hyperlegible (SIL OFL) - tests/test_roller.gd: headless checks for the model and roller Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
12 lines
278 B
Text
12 lines
278 B
Text
[gd_scene load_steps=2 format=3]
|
|
|
|
[ext_resource type="Script" path="res://ui/main.gd" id="1_main"]
|
|
|
|
[node name="Main" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_main")
|