Skip to content
A Java Chess Protocol Interface
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.idea
buildSrc
gradle/wrapper
src
.gitattributes
.gitignore
LICENSE
NOTICE
README.md
build.gradle.kts
gradlew
gradlew.bat
settings.gradle.kts

README.md

Java Chess Protocol Interface

Copyright 2007-2019 The Java Chess Protocol Interface Project Authors
http://fluxchess.com

CircleCI

Introduction

The Java Chess Protocol Interface provides a clean object-oriented interface to the UCI protocol. It handles all the standard I/O communication and creates well defined Java objects for the engine to consume.

Use it

Inside the distribution zip you'll find the JCPI jar. Add it to your engine project as an additional dependency and extend the AbstractEngine class. The JCPI jar is also available from our Maven repository.

To use it in Maven use the following code:

<dependency>
    <groupId>com.fluxchess.jcpi</groupId>
    <artifactId>jcpi</artifactId>
    <version>1.4.1</version>
</dependency>

To use it in Gradle use the following code:

dependencies {
    compile 'com.fluxchess.jcpi:jcpi:1.4.1'
}

Build it

The Java Chess Protocol Interface uses Gradle as build system. To build it from source, use the following steps.

  • get it
    git clone https://github.com/fluxroot/jcpi.git

  • build it
    ./gradlew build

  • grab it
    cp build/distributions/jcpi-<version>.zip <installation directory>

License

The Java Chess Protocol Interface is released under version 2.0 of the Apache License.

You can’t perform that action at this time.