{{define "room"}}
Hello {{.State.Username}};
Room created by {{.Room.CreatorName}};
Game is running: {{.Room.IsRunning}}
{{if and (eq .State.Username .Room.CreatorName) (not .Room.IsRunning)}} {{end}}
{{if .Room.IsOver}}GAME OVER; team {{.Room.TeamWon}} won! 🧚
{{else}}Turn of the {{.Room.TeamTurn}} team
{{end}}{{if eq .State.Team ""}} join the team! {{else}} you're on the team {{.State.Team}}! {{end}}