- Volume 1, Issue 1 2025
By Shayan Ali Kayani, Muhammad Saeed Shehzad
Keywords: Chess Board, Raspberry Pi3, Reed Switches, LED, Magnets, 72HC595 ICs, PCB, Stock fish Chess Engine, Shift Register, Multiplexers, Demultiplexers, Artificial Intelligence, Minimax algorithm, and Alpha-beta pruning.
As we can see, different people are addicted to mobile and computer games nowadays and rejected the famous ancient games like chess. This paper depicts design and construction of smart electronic chess system using electronic circuits which change the playing ability of human chess game to a non-idealized behavior, it’s up to difficult mode. Chess Board environment and its searching methodology are given by to use of openly sourced chess game engine the "STOCK FISH ". It will be restructured by using python ide. When user play its move, the spawn’s original location and its current location are fed into a chess engine through by using sensors, these moves are detected and then again fed into the chess engine. By using alpha-beta pruning technique the chess engine then replies with its move, giving the spawn’s current location and the desired destination. The chessboard comprises of reed switches for sensing the piece location and Integrated Circuits which are fixed on a PCB (Printed Circuit Board). Multiplexers and Demultiplexers are also be placed on the PCB which can give a way for one-way and two-way serial in and parallel out and parallel in serial out communications between the sensors and chess engine. Min Max algorithms which support the Alpha Beta searching method is used to deploy the game. Different commands display on the Raspberry pi screen and can also be integrated to different other parts. When the Stock fish game chess engine runs, software is being able to perform different decisions on chess game and manipulating them the spawn’s onto the chessboard. The reed switches and raspberry pi is one of the best solutions to reducing the cost of expensive sensors and motors which is to be used on the old electronic chess system which is based on digital robots. Newly design system works efficiently and is to be tested on a real time environment and gave satisfactory results.
