Skip to content

SamChenYu/JavaChessEngine

Repository files navigation

JavaChessEngine

In-Progress Chess Engine Developed With The MiniMax Algorithm Built From Scratch.

Current Estimated Elo (Depth 4) at 1150

Match History

Martin 250 Elo Bot (www.chess.com)

  • 31/02/2024 Depth 1 Engine : LOSS
  • 04/02/2024 Depth 4 Engine: WIN

Sven 1100 Elo Bot (www.chess.com)

  • 08/02/2024 Depth 4 Engine: WIN

EVALUATION Method

The evaluation method is between -1 and 0.

1 is checkmate for white

-1 is checkmate for black

0 is equal evaluation or stalemate

The evaluation takes into account two factors: Position difference and material difference.

The positional difference is calculated with piece square tables where each piece has assigned values on every square, determining the strength of the particular position. The material difference is calculated with a sigmoid function:

$y = \frac{1}{1.1 + e^{(-x+4)}} \quad \text{for} \quad 1 < x < 39$

where x is the numerial material difference and y is the material evaluation. These two factors are weighted dynamically, where very similiar material will weigh position more, whilst bigger material difference will weigh position less.
Link to PeSTO's Evaluation Function

Link to the TalkChess forum discussion

Image Alt Text
EnginePanel

Link to RyiSnow's Chess Pieces

About

Chess Engine Developed With The MiniMax Algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy