A simple Chess program written in C. Serves as an introduction to basics of programming the game.
Download code here.
(Note/Disclaimer :Given on as is basis (written by author during high school – 1999 to 2001))
Update, August 2026 — the original source code did not survive and could not be salvaged from the archives. The link above now provides the compiled binary together with CHESS.H, the one surviving fragment of the source — the piece definitions.

Sreekumar (KJ) has been a hobby programmer from school days. Codemarvels is his personal blog from the year 2010, where he writes about technology, philosophy, society and a bit about physics.
He now runs a conversational AI company – DheeYantra – focusing his efforts to help businesses improve operational efficiency using digital employees powered by AI.