Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Chess-Game-AI

The program represents a full chess game with logic for each piece’s movement, check, and checkmate detection. It maintains a virtual board array and supports move generation, validation, and board evaluation. The AI logic scans all possible moves for its color, simulates each one on a temporary board, and assigns board values based on material balance, piece safety, and positional advantages such as open mobility. It prioritizes unthreatened attacks, encourages piece development and open movement options, and uses value functions to rate moves. Future improvements include rewarding threats against higher-value pieces, allowing the AI to check the king even when only threatened by the king, and refining the evaluation weights to produce stronger play.

About

Rudimentary chess AI and board using text only.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages