mono424 / oex

An OEX Package for Flutter to find and connect to OEX Chess Engines.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oex

A Flutter Plugin, which lets you search and interact OEX Chess Engines on Android

๐Ÿ”Ž Discover UCI-Engines

๐Ÿ—ฃ๏ธ Interact with UCI-Engines

Screenshot

screenshot

How to use

๐Ÿš€ Setup

Add the dependency to pubspec.yaml.

dependencies:
  [...]
  oex: ^0.1.2

and import it.

import 'package:oex/oex.dart';

๐Ÿ”Ž Discover Engines

List<OEXEngine> result = await OEX.search();
print(result);

๐Ÿ—ฃ๏ธ Interact with Engines

Stream<String> stdout = await engine.start();
stdout.listen((out) {
    print(out);
});

Future.delayed(Duration(milliseconds: 500));
engine.send("uci");

Additional information

This package is used in WhitePawn in production.

Every contribution is very welcome.

Cheers ๐Ÿฅ‚

About

An OEX Package for Flutter to find and connect to OEX Chess Engines.

License:MIT License


Languages

Language:Java 65.7%Language:Dart 25.1%Language:Ruby 6.4%Language:Swift 1.9%Language:Kotlin 0.6%Language:Objective-C 0.2%