Graham Chess

Table of Contents

Graham Chess

Graham Chess is a chess engine written in Haskell, named after the great haskell professor, Prof. Graham Hutton. It was developed in 2020 over the first lockdown with a classmate. We decided to undertake this project to develop our skills in Haskell and writing functional programs generally. We utilised a weighting technique to analyse the position on the board. We implemented alpha-beta pruning to prune our game tree when selecting a move. This greatly sped up the time it took to make a move with the final optimised time being about 30 seconds per move. Graham could not beat anyone who knew how to play chess, however it could finish a game and made generally smart moves.

Key Technologies

  • Haskell