moxcomic / archer

Archer is a top-tier Mahjong AI development framework, currently reaching as high as Tenhou 9.7 dan. https://moxcomic.github.io/archer/
45 stars 2 forks source link

天凤脚本模版(Tenhou Script Template) #4

Open moxcomic opened 1 year ago

moxcomic commented 1 year ago
package main

import (
  "fmt"
  "math/rand"
  "time"

  "github.com/moxcomic/Archer/gamestate"
  "github.com/moxcomic/Archer/variable"
  tenhouclient "github.com/moxcomic/engine/tenhou_client"
  "github.com/moxcomic/lq"
)

func onLogin() {

}

func onTaikyoku() {

}

func onNewRound() {

}

func onConfirmNewRound() {

}

func onExecute(result *lq.NotifyAIResult, risk []float64, r, m, f, t float64) {

}

func onLN(values ...int) {

}

func onGameEnd() {

}