Skip to content

The Quick Basic (QB64) edition of the Huo Chess engine. The best open-source micro chess program to use for educational purposes!

Notifications You must be signed in to change notification settings

skakos/Huo-Chess-QB64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huo-Chess-QB64

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

Related resources

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/

About

The Quick Basic (QB64) edition of the Huo Chess engine. The best open-source micro chess program to use for educational purposes!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages