This is the Huo Chess edition in Quick Basic (QB64).
Includes three programs:
- HUOC: The Huo Chess edition without a GUI.
- HUOC_GRAPHICS: The Huo Chess edition with graphics to present the chessboard.
- HUOC_OPENING: The Huo Chess opening editor.
Huo Chess: The best open-source micro chess program to use for educational purposes!
Overview: A mini open source chess program for educational purposes (the latest Java version is 48 KB in size, while the latest C# console version is only 159 KB is size, even though it utilizes the latest .NET Platform). Code is purposefully heavily commented and kept as concise as possible; no size-reducing optimizations are applied that would make the code less readable. Articles explaining the chess engine algorithm exist either here or in Harmonia Philosophica site.
How to use Huo Chess Opening Editor: Simply open the program and make moves. All moves entered are stored in separate txt files which will serve as the opening book of the chess program. Each txt file holds a chessboard position and the move you played in that position. In case there is already a suggested move for a specific position the program will let you know and the new move played will not be documented again (you will have to delete the relevant txt file to record a different move).
How to use the opening book: If you wish the program to use the opening book you have created (i.e. all the txt files generated with the process mentioned above in "How to use Huo Chess Opening Editor") simply put all these txt files in the same folder as the executable program (at the same path level, not in a separate folder). Note that for distribution purposes only, the opening book txt files are packaged in a separate folder, so in order to use them you must copy and paste them in the same folder as the executable file.
Huo Chess editions in GitHib
- Huo Chess .NET Framework edition: https://github.com/skakos/huo-chess.
- Huo Chess DV (Delta Version) based on C# and .NET Platform 6.0: https://github.com/skakos/HuoChessDV.
- Huo Chess edition in Quick Basic (QB64): https://github.com/skakos/Huo-Chess-QB64
Related resources
- Harmonia Philosophica MAIN Huo Chess site: https://harmoniaphilosophica.com/2019/02/13/huo-chess-c-micro-chess-updated/
- Codeproject related article: https://www.codeproject.com/Articles/20736/C-C-CLI-Micro-Chess-Huo-Chess
Huo Chess tutorials can be found in Harmonia Philosophica site and in Codeproject. Reuse of the code is free, as long as the source is cited properly. Huo Chess Delta Version Description: Huo Chess micro chess engine in Visual Studio 2022, utlizing C# .NET 6.0.
Right to re-use: Reusing the code in any possible way is free, as long as the source of the code is properly mentioned.
Main Huo Chess page: https://harmoniaphilosophica.com/2019/02/13/huo-chess-c-micro-chess-updated/