# Smirf UCI

UCI interface for SMIRF chess engine. Inspired by [Smirfoglot](https://home.hccnet.nl/h.g.muller/smirf.html).

## Compilation

Smirf UCI is compiled with Free Pascal.

Provided you have *make* and Free Pascal 32-bit installed, you can compile *Smirf UCI* by opening a console and typing `make`.

## Usage

The repository includes scripts for playing against *Smirf UCI* in *WinBoard* or in *XBoard*.

Indeed, *Smirf UCI* works also under Linux, with *wine*! Below, a screenshot of *Smirf UCI* loaded in *XBoard*:

![Screenshot](screenshots/xboard-chess960.png)

Example of command-line for *cutechess-cli* (still under Linux):

```
-engine name="Smirf Uci" cmd="wine32" arg="smirf.exe" dir="smirf-uci-directory" proto="uci"
```

*Smirf UCI* supports only traditional chess and chess 960. If you want to play one of the other variants that the program is able to play, use *Smirfoglot*.

## Command-line option

In version 0.0.3, a command-line option has been added, allowing to choose a log level, from 0 (no log) to 3 (very verbose):

```
smirf.exe --loglevel=1
```

The default value is 0.
