Treffer: Development of A Machine Learning Based Chess Game in Python

Title:
Development of A Machine Learning Based Chess Game in Python
Source:
BEST : Journal of Applied Electrical, Science, & Technology. 7:21-28
Publisher Information:
Universitas PGRI Adi Buana Surabaya, 2025.
Publication Year:
2025
Document Type:
Fachzeitschrift Article
ISSN:
2714-5247
2715-2871
DOI:
10.36456/best.vol7.no1.10343
Rights:
CC BY SA
Accession Number:
edsair.doi...........d356765a9793a9fcce24dba805b4a925
Database:
OpenAIRE

Weitere Informationen

This paper presents the design and implementation of a Machine Learning (ML)-based chess game developed in Python. Unlike traditional chess game that rely primarily on alpha-beta pruning and handcrafted evaluation functions, this approach employs supervised learning techniques to create a neural network model capable of evaluating chess positions and making move decisions. The system leverages the python-chess library for game representation and the scikit-learn framework for implementing the machine learning components. We demonstrate that even with relatively simple feature engineering and a modest neural network architecture, the system can learn effective chess strategies. The implementation is designed to run in a Jupyter Notebook environment, providing an interactive interface for human players to compete against the ML agent while facilitating educational insights into both chess strategy and machine learning principles.