GitXplorerGitXplorer
i

chess

public
1 stars
0 forks
1 issues

Commits

List of commits on branch main.
Unverified
2d2bb416d658557b097fadd8551009470171e45a

Implement Claude as a bot to play against

iilinum committed 3 months ago
Unverified
7bffb7c37d42ec1473409e983308da8cc2f0c84f

Implement rudimentary minimax strategy

iilinum committed 3 months ago
Unverified
735a8aa07d31763ab88278940d6f98eabfcf27be

Fix bug with promotion

iilinum committed 3 months ago
Unverified
4e25681dab0e83c14496ffb4bbda32d8000a4adc

Add logging to both engine and UI

iilinum committed 3 months ago
Unverified
ff7c4c8a8247d18ba50e082060bff90e861f9c06

Update README

iilinum committed 3 months ago
Unverified
45f78b90cd93af7653d15250a429e686337c889d

Allow running two chess engines against each other

iilinum committed 3 months ago

README

The README file for this repository.

Chess

An implementation of chess in Java

Running

To run just the UI, with two human players at the same computer:

$ ./gradlew runUI

Playing against the chess engine

If you'd like to play against a chess engine, you need to install Docker. The rest of the instructions assume you have docker installed and running.

In order to play against the chess engine, you need to:

$ ./gradlew startEngine 
# Engine starts on port 1337.
$ ./gradlew runUI --args="--engine-port-black 1337"
# Starts the UI with the engine playing black and human playing white.

Note that you can play against any engine that supports the Universal Chess Interface protocol.

If you'd like to run see two chess engines play against each other:

$ ./gradlew startEngine
# Starts our engine.
$ docker run -d -p 1338:8080 damon/chess-engine
# Starts stockfish engine on port 1338.
$ ./gradlew runUI --args="--engine-port-black 1337 --engine-port-white 1338"
# Watch our engine get crushed by stockfish.