---
title: Install z2i-rs on Linux | Snap Store
description: Get the latest version of z2i-rs for Linux - Gomoku/Renju AI engine with
  neural network and MCTS
url: https://snapcraft.io/z2i-rs
---

# z2i-rs

[Jintao Yang (joker2770)](https://snapcraft.io/publisher/joker2770 "View all snaps from Jintao Yang (joker2770)")

* [Jintao Yang (joker2770)](https://snapcraft.io/publisher/joker2770 "View all snaps from Jintao Yang (joker2770)")

latest/beta 0.1.1

Install latest/beta of z2i-rs

---

**Install using the command line**

```
sudo snap install z2i-rs --beta
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

z2i-rs is only available on the unstable beta channel. It could break and change often.

---

### Package name

* z2i-rs

---

### License

* MIT

---

### Last updated

* 7 September 2026 - latest/beta
* 24 October 2026 - latest/edge

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/z2i-rs#report-snap-modal)

---

* [Description](https://snapcraft.io/z2i-rs#tab-description)
* [Security](https://snapcraft.io/z2i-rs#tab-security)

#### Gomoku/Renju AI engine with neural network and MCTS

Z2I\_rs is a Gomoku/Renju AI engine based on a neural network and Monte Carlo
Tree Search (MCTS), implementing the Gomocup/Piskvork console protocol
(START/BEGIN/TURN/BOARD/INFO/ABOUT/END) over stdin/stdout. It bundles
ONNX Runtime inference and supports FreeStyle, Standard, Renju, Caro and
Standard+Caro rule flags.

The snap ships the engine binary only; no weights are bundled.

Configuration:

* On startup the engine looks for config.toml in the user config directory
  (~/snap/z2i-rs/current/.config/Z2I\_rs/), then in the current working
  directory, then next to the executable.
* Point the [model] entries at your own ONNX weights (default\_model,
  free\_style\_model, renju\_model, standard\_model, caro\_model,
  standard\_caro\_model). Absolute paths are used as-is; relative paths are
  resolved against the working directory first, then the executable
  directory.
* [MCTS] controls num\_mct\_sims, num\_sim\_per\_batch, open\_mind and
  enable\_ponder; [ONNXRUNTIME] controls num\_intra\_thread.
* A template covering all supported keys is available in the source
  repository at snap/config.toml.

Notes:

* The neural network input tensor is fixed at 3x15x15; use weights exported
  for a 15x15 board.
* Without a valid model the engine still plays, using plain MCTS (weaker).

Use it with a Gomoku manager such as qpiskvork.

---

## Install z2i-rs on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/z2i-rs/arch)

[### CentOS](https://snapcraft.io/install/z2i-rs/centos)

[### Debian](https://snapcraft.io/install/z2i-rs/debian)

[### elementary OS](https://snapcraft.io/install/z2i-rs/elementary)

[### Fedora](https://snapcraft.io/install/z2i-rs/fedora)

[### KDE Neon](https://snapcraft.io/install/z2i-rs/kde-neon)

[### Kubuntu](https://snapcraft.io/install/z2i-rs/kubuntu)

[### Manjaro](https://snapcraft.io/install/z2i-rs/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/z2i-rs/pop)

[### openSUSE](https://snapcraft.io/install/z2i-rs/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/z2i-rs/rhel)

[### Ubuntu](https://snapcraft.io/install/z2i-rs/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/z2i-rs/raspbian)
