https://github.com/jalpp/liquid
Liquid chess engine is a chess engine that acts like liquid (human play) adapt's to opponents rating level
https://github.com/jalpp/liquid
chess-bot chess-engine chess-game stockfish uci-chess-engine
Last synced: 6 months ago
JSON representation
Liquid chess engine is a chess engine that acts like liquid (human play) adapt's to opponents rating level
- Host: GitHub
- URL: https://github.com/jalpp/liquid
- Owner: jalpp
- License: gpl-3.0
- Created: 2023-01-04T00:41:25.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-07T02:08:18.000Z (over 1 year ago)
- Last Synced: 2025-03-29T15:42:33.446Z (6 months ago)
- Topics: chess-bot, chess-engine, chess-game, stockfish, uci-chess-engine
- Language: Java
- Homepage:
- Size: 17.8 MB
- Stars: 15
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repo contains source code for (Li)chess search engine bot's Discord chess engine, and (Li)quid chess engine both are part of the Lise bot code family.
# Liquid Search Engine [LISE]
Liquid chess engine tries to replicate human play, self-adjusting according to the opponent's Lichess blitz rating, named Liquid as it adapts to the opponent's rating play meaning plays strong against stronger players, weak against beginner players.## Liquid comes in 4 modes
- Beast [2400+]
- Strong [1900 - 2400]
- Novice [1400 - 1900]
- Beginner [0 - 1400]## Liquid Lichess Ratings
- Blitz 2230
- Bullet 2281
- Rapid 1872
- Classical 1879?## Liquid's helpers
Liquid uses Stockfish's best move to come up with the right one, but according to its mode, it can self-adjust to using Stockfish or its logic.
- Stockfish [running at various depths for various modes]
(The Stockfish developers (see AUTHORS file). Stockfish [Computer software]. https://github.com/official-stockfish/Stockfish)
- Negamax algorithm
- frequency-based blunder logic that plays a stockfish or the best move according to eval function and uses random frequency technique to "throw" like a human and mess up but at same time play the best move## Liquid's Eval
- the amount of pieces both sides have
- both kings are attacked
- board space and center space
- look at captures
- look at which pieces are where## UCI Protocol
Liquid uses UCI protocol it supports following commands:
```
LISE UCI COMMANDS:
-------------------------------------------------------
isready (check if engine is ready)
level (Change level)
position (get Lise's best move in given FEN)
eval (get Lise's eval in given FEN)
uci (view Lise UCI commands)
quit (Quit the engine)```
## Running Liquid locally and use it via UCI
```
git clone LiseChessEnginecd LiseChessEngine/src
mvn clean
mvn compile
mvn package
java -jar 4.0-SNAPSHOT.jar
```
# Lise Chess Engine
Lise is an effortless engine that runs at low depths and performs a chess engine role in Discord, it's part of the Lichess search engine bot's repo code
## Lise mode
- Beginner
## Lise's helper
simple negamax method to search for moves at lower depths## Challenge (Li)quid search engine Lise
Please only challenge white side casual/rated
Play Lise [Here](https://lichess.org/@/LISEBOT)
(Please note the Lichess bot may be down some days, due to maintaince/resource limit)
# Authors
@jalpp