Chess Game Using Assembly Language Programming
摘要
This paper presents the development of a chess game using assembly language programming. The game is designed to be played on a DOSBox which is an interface in TASM, with a minimalist user interface and simple graphics. The objective of the game is to provide an engaging and challenging experience for players while demonstrating the power and versatility of assembly language programming. The game’s design is based on the standard rules of chess, with support for all the basic moves such as pawn promotion, en passant capture, and castling. The game uses a bitboard representation to efficiently store the state of the game, allowing for fast and efficient move generation and evaluation. The development process involves designing and implementing the game’s various components, including the user interface, game logic, and graphics. The programming is done entirely in assembly language, with a focus on optimizing performance and minimizing code size. The performance of the game is evaluated through simulations and testing, comparing its performance against other chess programs and human players. The results demonstrate the effectiveness of the assembly language programming approach, with the game performing well and providing a challenging experience for players. Overall, the proposed chess game using assembly language programming showcases the power and flexibility of low-level programming languages and provides an example of how these languages can be used to develop complex and engaging applications on resource-constrained systems.