Fives-and-Threes Dominoes

17th September '17 – ⁠22nd March '18

In this module, I was tasked with learning Haskell through a series of exercises. I found learning Haskell during this module exciting and engaging, and was particularly satisfied by the paradigm of pattern matching. My final assignment was to create a framework for playing fives-and-threes dominoes via Haskell, maintaining a game state and allowing computer players to interact with the game. Some of these computer players were simplistic in nature, playing the first thing they could from their hand, but I also made one that was more intelligent and was able to guess the contents of the opponent's hand from their moves.

Copyright © 2016-2020 Simon Fish