Archer

基础框架

最小化框架

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() {}

该框架包含了最小化的游戏逻辑, 只包含了一些基本的事件, 你可以根据自己的需求进行修改和扩展