Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f2e25458e | ||
|
|
95810d3735 | ||
|
|
df65b1ed07 |
8
main.go
8
main.go
@@ -11,6 +11,14 @@ import (
|
|||||||
func main() {
|
func main() {
|
||||||
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
|
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
|
||||||
defer can()
|
defer can()
|
||||||
|
|
||||||
|
defer func() {
|
||||||
|
if err := recover(); err != nil {
|
||||||
|
log.Println("panic:", err)
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
|
||||||
if err := src.Main(ctx); err != nil && ctx.Err() == nil {
|
if err := src.Main(ctx); err != nil && ctx.Err() == nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,9 +17,9 @@ func Main(ctx context.Context) error {
|
|||||||
defer reader.Close()
|
defer reader.Close()
|
||||||
|
|
||||||
interval := time.Millisecond * 50
|
interval := time.Millisecond * 50
|
||||||
if intervalS := os.Getenv("MAIN_INTERVAL_DURATION"); intervalS != "" {
|
if intervalS := os.Getenv("MAIN_INTERVAL_DURATION"); intervalS == "" {
|
||||||
} else if v, err := time.ParseDuration(intervalS); err != nil {
|
} else if v, err := time.ParseDuration(intervalS); err != nil {
|
||||||
panic(err)
|
return err
|
||||||
} else {
|
} else {
|
||||||
interval = v
|
interval = v
|
||||||
}
|
}
|
||||||
|
|||||||
31
todo.yaml
31
todo.yaml
@@ -1,9 +1,10 @@
|
|||||||
todo:
|
todo:
|
||||||
- -venue needs to update for new env variables for GUI
|
- trigger a vote
|
||||||
- -venue needs to udpate hits hotword path for new Users.[].State.GM.Alias
|
- trigger an election
|
||||||
- clients can vote
|
- trigger a shuffle for init
|
||||||
|
- assign aliases
|
||||||
|
- display vote progress
|
||||||
- single docker image to run all
|
- single docker image to run all
|
||||||
- https via home.blapointe and rproxy
|
|
||||||
- trigger dolphin pause via query param mapping to a button that is a pause hotkey
|
- trigger dolphin pause via query param mapping to a button that is a pause hotkey
|
||||||
- todo: rotation triggers
|
- todo: rotation triggers
|
||||||
subtasks:
|
subtasks:
|
||||||
@@ -14,7 +15,6 @@ todo:
|
|||||||
- todo: voice recognition of hotwords to vote who dun it
|
- todo: voice recognition of hotwords to vote who dun it
|
||||||
subtasks:
|
subtasks:
|
||||||
- random word from cur wikipedia page
|
- random word from cur wikipedia page
|
||||||
- each person has their own hotword
|
|
||||||
- only spectators have hotwords and must get a player to speak it
|
- only spectators have hotwords and must get a player to speak it
|
||||||
- tribunal to vote who said it
|
- tribunal to vote who said it
|
||||||
scheduled: []
|
scheduled: []
|
||||||
@@ -102,3 +102,24 @@ done:
|
|||||||
ts: Mon Mar 27 11:04:56 MDT 2023
|
ts: Mon Mar 27 11:04:56 MDT 2023
|
||||||
- todo: clients can send STT via box
|
- todo: clients can send STT via box
|
||||||
ts: Mon Mar 27 17:55:41 MDT 2023
|
ts: Mon Mar 27 17:55:41 MDT 2023
|
||||||
|
- todo: -venue needs to update for new env variables for GUI
|
||||||
|
ts: Mon Mar 27 21:43:40 MDT 2023
|
||||||
|
- todo: -venue needs to udpate hits hotword path for new Users.[].State.GM.Alias
|
||||||
|
ts: Mon Mar 27 21:43:40 MDT 2023
|
||||||
|
- todo: clients can vote
|
||||||
|
ts: Mon Mar 27 21:43:40 MDT 2023
|
||||||
|
- todo: rotation triggers
|
||||||
|
subtasks:
|
||||||
|
- ui for election start, election votes, election end stuff
|
||||||
|
- todo: stdin
|
||||||
|
subtasks:
|
||||||
|
- minigame end
|
||||||
|
- todo: voice recognition of hotwords to vote who dun it
|
||||||
|
subtasks:
|
||||||
|
- random word from cur wikipedia page
|
||||||
|
- each person has their own hotword
|
||||||
|
- only spectators have hotwords and must get a player to speak it
|
||||||
|
- tribunal to vote who said it
|
||||||
|
ts: Mon Mar 27 21:43:40 MDT 2023
|
||||||
|
- todo: https via home.blapointe and rproxy
|
||||||
|
ts: Mon Mar 27 21:43:53 MDT 2023
|
||||||
|
|||||||
Reference in New Issue
Block a user