Skip to content

Apricot-S/mjai-manue-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9177ff1 · Mar 22, 2025
Mar 20, 2025
Mar 21, 2025
Mar 12, 2025
Feb 16, 2025
Mar 22, 2025
Mar 19, 2025
Mar 15, 2025
Mar 15, 2025
Mar 15, 2025
Dec 28, 2024
Mar 19, 2025
Jan 12, 2025
Mar 20, 2025
Mar 20, 2025

Repository files navigation

mjai-manue-go

Go port of mjai-manue

Work in progress

Differences from the original:

Note

The original project includes an older version written in Ruby and a newer version written in CoffeeScript. This project ports only the new version.

For more information, see the original README (Japanese) or its translation.

Installation

There are two options to install this application:

Option 1: Download from releases

Download the executable file for your platform from the releases page.

Option 2: Build from source

go install github.com/Apricot-S/mjai-manue-go/cmd/mjai-manue

mjai-manue will be built in current directory.

Usage

For TCP/IP (e.g., mjai)

mjai-manue --url http://example.com:11600/default

For Standard I/O (e.g., mjai.app)

mjai-manue --pipe

Note

In practice, mjai.app runs bot.py in the submission .zip file. You need to call the above command from within bot.py and pipe the standard input and output.

Tip

See scripts/mjai.app/ for how to generate a submission file for mjai.app.

License

Licensed under the New BSD License (3-Clause BSD License).

This project includes the following files from the original mjai-manue project, which are licensed under the New BSD License. Full credit for these files goes to the original author, Hiroshi Ichikawa.

Files used:

  • configs/danger_tree.all.json
  • configs/game_stats.json
  • configs/light_game_stats.json