A collection of 2 posts

board game

baghchal v1.0.1 Release

baghchal is a pure Python Bagh Chal library that supports game import, move generation, move validation, and board image rendering. It also comes with a simple engine based on the minimax algorithm and alpha-beta pruning.


Zugzwang: An Enforced Elegance

Introducing specific constraints on variables and functions in mathematics gives rise to numerous intricate patterns. This blog discusses one such delicacy that can arise in certain board games like chess — Zugzwang.