aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-06-11 19:24:25 -0400
committerhistoria <[not public]>2026-06-11 19:24:25 -0400
commit6b2b4bf470b655f01c5a21c5f558a6102402c214 (patch)
tree10970b523999b87ea09c63486906f0c5314f3542 /internal/config
parent1b9e2da3b3c438d8dc53d3489725dd5ba0022777 (diff)
downloadthehouseoficarus-6b2b4bf470b655f01c5a21c5f558a6102402c214.tar.gz
feat: map implemented with BFS
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go8
1 files changed, 8 insertions, 0 deletions
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,