stub
parent
44048b126c
commit
b65d2134f5
|
|
@ -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
|
||||
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
package src
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
)
|
||||
|
||||
func Main(ctx context.Context) error {
|
||||
return errors.New("not impl")
|
||||
}
|
||||
Loading…
Reference in New Issue