Best : Journal of Applied Electrical, Science and Technology
Vol 7 No 1 (2025): BEST

Development of A Machine Learning Based Chess Game in Python

Hastuti, Dwi (Unknown)
surya Wijaya, WILDAN (Unknown)



Article Info

Publish Date
18 Mar 2025

Abstract

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.

Copyrights © 2025






Journal Info

Abbrev

best

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Physics

Description

A Journal that contain Applied Electrical, Science & Technology. Published twice a year, in March and September. P-ISSN: 2715-2871(print), and E-ISSN: 2714-5247 ...