Online, realtime, multiplayer Set game written in ocaml


#1

As a learning project, I decided to implement the game of Set entirely in ocaml/reason:

Game: https://setml.andrewtongen.net/
Code: https://github.com/atongen/setml

There are separate modules for frontend and backend code, with shared modules in between. Overall, I really enjoyed this exercise. The ocaml type system is truly amazing, and I will definitely look for more ways to use it in the future.

The game itself has not be thoroughly tested on various devices, but it seems to work pretty well on newish android and apple devices.

Check it out and let me know what you think!


#2

Whoa, nice work! Seems like a great example of a Reason + OCaml full-stack project with shared code (and working tests, even). I think people can use this project as a reference to setup their own full-stack app projects.


#3

Thanks! Your blog was a great help!