From ceff02789af12a4bd03a435d87ba13856db7ecfb Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Sun, 15 Dec 2024 02:22:18 -0700 Subject: [PATCH] HELP msg always --- cmd/server/ws.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/cmd/server/ws.go b/cmd/server/ws.go index 9886f59..7664667 100644 --- a/cmd/server/ws.go +++ b/cmd/server/ws.go @@ -61,7 +61,16 @@ func (s *S) serveWS(w http.ResponseWriter, r *http.Request) error { return err } - msg := map[string]any{} + msg := map[string]any{ + "help": strings.Join([]string{ + "CARD ASSASSINS (HOLIDAY PHONE EDITION)", + "", + "1. Get any target to say any of his or her kill words.", + "2. Click on the kill word a target said.", + "", + "The game ends when everyone has been assassinated.", + }, "
"), + } if gameState.Started { msg["page"] = "B"