Archer

Basic Framework

Minimal Framework

go
package main

import (
	"github.com/moxcomic/lq"
)

func onLogin() {}

func onRoomGameStart() {}

func onMatchGameStart() {}

func onNewRound() {}

func onRoundEnd() {}

func onPlayerLeaving(seat int) {}

func onExecute(result *lq.NotifyAIResult, risk []float64, rating, matches, fivePer, tenPer float64) {}

func onGameEnd() {}

func onServerDisconnect() {}

This framework includes a minimal game logic setup, containing only some basic events. You can modify and extend it according to your needs.