Soyuj Jung Basnet Blogs

A collection of my thoughts, musings, and experiences.

reinforcement learning

Mastering the Nepali Board Game of Bagh Chal with self-learning AI

Inspired by AlphaZero, this deep reinforcement learning AI agent uses a deep policy and value neural network along with Monte Carlo Tree Search to self-learn the traditional Nepali game of Bagh Chal.

engineering

Developing The Content Workflow System for Programiz

The Content Workflow System to edit and publish tutorials at Programiz uses Google Docs and Python at the backend to convert Google Docs To HTML and vice versa.

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.

chess

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.