|
|
@ -20,6 +20,7 @@ type Config struct { |
|
|
|
NethackLauncher struct { |
|
|
|
NethackLauncher struct { |
|
|
|
Loglevel string |
|
|
|
Loglevel string |
|
|
|
ServerDisplay string |
|
|
|
ServerDisplay string |
|
|
|
|
|
|
|
NethackVersion string |
|
|
|
RecordLocation string |
|
|
|
RecordLocation string |
|
|
|
ReclistLocation string |
|
|
|
ReclistLocation string |
|
|
|
BootstrapDelay time.Duration |
|
|
|
BootstrapDelay time.Duration |
|
|
@ -163,7 +164,7 @@ func printUserScreen(redisClient *redis.Client, username string) string { |
|
|
|
println("") |
|
|
|
println("") |
|
|
|
println(" l) Logout") |
|
|
|
println(" l) Logout") |
|
|
|
println(" w) Watch games in progress") |
|
|
|
println(" w) Watch games in progress") |
|
|
|
println(" p) Play NetHack 3.6.0") |
|
|
|
fmt.Printf(" p) Play NetHack %s\n", config.NethackLauncher.NethackVersion) |
|
|
|
println(" q) Quit") |
|
|
|
println(" q) Quit") |
|
|
|
println("") |
|
|
|
println("") |
|
|
|
fmt.Printf(">> ") |
|
|
|
fmt.Printf(">> ") |
|
|
|