master
bel 2023-03-01 20:11:56 -07:00
parent 44048b126c
commit b65d2134f5
3 changed files with 35 additions and 0 deletions

9
README.md Normal file
View File

@ -0,0 +1,9 @@
# mayhem-party
Think Dug's Twitch Chat Plays
* output keyboard; https://github.com/micmonay/keybd_event
* input gamepad; https://github.com/orsinium-labs/gamepad
* gcc plan b; https://github.com/go-vgo/robotgo
* gaaaaaym; https://www.mariowiki.com/Mario_Party_7
* multiplayer engine; https://parsec.app/features

16
main.go Normal file
View File

@ -0,0 +1,16 @@
package main
import (
"context"
"mayhem-party/src"
"os/signal"
"syscall"
)
func main() {
ctx, can := signal.NotifyContext(context.Background(), syscall.SIGINT)
defer can()
if err := src.Main(ctx); err != nil && ctx.Err() == nil {
panic(err)
}
}

10
src/main.go Normal file
View File

@ -0,0 +1,10 @@
package src
import (
"context"
"errors"
)
func Main(ctx context.Context) error {
return errors.New("not impl")
}