|
|
|
@ -20,6 +20,7 @@ type Config struct {
|
|
|
|
|
NethackLauncher struct { |
|
|
|
|
Loglevel string |
|
|
|
|
ServerDisplay string |
|
|
|
|
NethackVersion string |
|
|
|
|
RecordLocation string |
|
|
|
|
ReclistLocation string |
|
|
|
|
BootstrapDelay time.Duration |
|
|
|
@ -163,7 +164,7 @@ func printUserScreen(redisClient *redis.Client, username string) string {
|
|
|
|
|
println("") |
|
|
|
|
println(" l) Logout") |
|
|
|
|
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("") |
|
|
|
|
fmt.Printf(">> ") |
|
|
|
|