How billforsternz/tarrasch-chess-gui works
Tarrasch is a desktop chess workbench for editing PGN games, playing or analyzing with UCI engines, and browsing chess databases. The principal workflow begins in the wxWidgets application, which coordinates game interaction and can hand positions to an engine; PGN and database facilities support importing, editing, and searching games. The graph also retains documented opening-book and training capabilities. Some subsystem links are based on README descriptions because their implementation files were not sampled; those links are dashed. This reflects the available excerpts, not a complete runtime trace.
Main entry points: main.cpp Application shell · GameLogic.cpp Game commands · GameDocument.cpp Game document · UciInterface.h UCI engine interface
Components 18
Desktop application
- Application shell
src/main.cpp - Board and context
src/PanelBoard.cpp - Preferences
src/Repository.cpp
Chess games
- Game commands
src/GameLogic.cpp - Game document
src/GameDocument.cpp - Game display
src/GameView.cpp
Analysis tools
- Engine settings
src/EngineDialog.cpp - UCI engine interface
src/UciInterface.h - External chess engine
- Engine suspension
src/SuspendEngine.h - Opening book
src/Book.cpp - Training mode
src/TrainingDialog.cpp
Game data
- PGN parsing
src/PgnRead.cpp - Chess database
src/Database.cpp - Database creation
src/CreateDatabaseDialog.cpp - Position search
src/MemoryPositionSearch.cpp - Pattern matching
src/PatternMatch.cpp
Other components
- Chess player
Connections 20
- Chess player → Application shell: uses
- Application shell → Game commands: dispatches
src/main.cpp - Application shell → Board and context: creates
src/main.cpp - Application shell → Preferences: loads settings
src/main.cpp - Game commands → Game document: edits
- Game commands → Game display: updates
- Chess player → Game document: edits PGN
- Game document → PGN parsing: imports and exports
- Application shell → Engine settings: opens settings
src/main.cpp - Engine settings → Engine suspension: suspends
- Engine suspension → UCI engine interface: controls
src/SuspendEngine.h - Game commands → UCI engine interface: analyzes positions
- UCI engine interface → External chess engine: communicates
- Application shell → Opening book: loads book
src/main.cpp - Chess player → Training mode: practices
- Chess player → Chess database: searches games
- Database creation → PGN parsing: reads games
src/CreateDatabaseDialog.cpp - Database creation → Chess database: creates database
src/CreateDatabaseDialog.cpp - Chess player → Position search: searches positions
- Chess player → Pattern matching: searches patterns