Fable is a compiler for F# to JavaScript.
It brings all the good parts of functional-first programming in F# to JavaScript development.
Even without a lot of knowledge of Node.js and the JavaScript ecosystem, it is fairly easy to get started with and use functional-first programming for client-side browser applications. Fable can also be used for client-server, Node, mobile or desktop applications.
After reading the very nice introductory tutorial Getting started with Fable and Webpack I was ready to make an implementation of SameGame.
It is integrated in this post and you can play it right here in the browser.
This sample was also published on Fable's official sample site where you can find more information on the implementation details.