From 6b2b4bf470b655f01c5a21c5f558a6102402c214 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Thu, 11 Jun 2026 19:24:25 -0400 Subject: feat: map implemented with BFS --- internal/config/config.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'internal/config') diff --git a/internal/config/config.go b/internal/config/config.go index 8ff5740..1682a01 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -7,11 +7,16 @@ import ( ) type Config struct { + Game GameConfig `yaml:"game"` Telnet TelnetConfig `yaml:"telnet"` HTTP HTTPConfig `yaml:"http"` HTTPS HTTPSConfig `yaml:"https"` } +type GameConfig struct { + MaxWidth int `yaml:"maxWidth"` +} + type TelnetConfig struct { Enabled bool `yaml:"enabled"` Port int `yaml:"port"` @@ -31,6 +36,9 @@ type HTTPSConfig struct { func Default() *Config { return &Config{ + Game: GameConfig{ + MaxWidth: 70, + }, Telnet: TelnetConfig{ Enabled: true, Port: 4000, -- cgit v1.2.3