Modelling game states with Active Patterns


After a (long) hiatus from posting here I've decided to finally start up again. This week: F# and Active Patterns. Game Logic in F# I came across https://www.codingame.com/ recently - a great website that essentially has a set of "game challenges". Your task for most of these games is to write the "message pump" (any … Continue reading Modelling game states with Active Patterns

Advertisements

Demystifying the Enigma machine with F#


I had a couple of evenings free this week so decided to see if I could implement the Enigma machine, used during WW2 by the Nazis (and famously decrypted by the Polish, French and ultimately the British in Bletchley Park via some of the first programmable computers) in F#. An overview of Enigma The initial … Continue reading Demystifying the Enigma machine with F#