How ronsijm/buttfish works
Key Components to Include in the System Design:
Core Components
• Input Processing Layer
• FEN String Parser
• Manual Input Handler
• Chess Engine Integration
• UCI Engine Interface (Stockfish)
• Engine Selection System
Device Management Layer
• Device Discovery Manager
• Device Broadcaster
• Device Connectors
• Buttplug.io Connector
• Yeelight Connector
• Console Output Connector
Encoding Layer
• Morse Code Encoder
• Simplified Pulse Encoder
• Character Encoding Interface
Output Processing
• ASCII Visualization
• Device Output Management
Use a top-down approach with clear separation of concerns
• Top Layer: Input Sources (FEN strings, Manual input)
• Middle Layer: Processing (Chess engine, Encoders)
• Bottom Layer: Output Devices (Buttplug.io devices, Yeelights, Console)
Component Grouping
• Use clear labels for each group
• Configuration dependencies
Special Considerations:
Modular nature of the system
• How different encoders can be plugged in
• Demonstrate device abstraction layer
• Configuration points
External Dependencies
• Integration points with Stockfish
• Network connections for device discovery
• API dependencies
Configuration Flow
• How appsettings.json influences component behavior
• Optional features (EndPositionOnly, UseManualInput)
Testing Boundaries
• Test coverage scope
• Integration points with external systems
The configuration-driven behavior
Remember to maintain a balance between technical accuracy and readability, as this project combines serious engineering with humorous intent.