Tic Tac Toe

A very basic web multiplayer real-time game implemented using Servant and Websockets. It can serve as an example on how to set up websockets with authentication in your Servant app.


Running it locally

You need to have stack installed together with npm.

Running the server

In the root folder of the repository, run stack run.

Running the client

While inside the client folder, run npm run start.

Note: if you encounter an error about history you may need to run npm install --save history


There are a few TODOs at the bottom of this readme. Feel free to tackle some of those or submit any improvements that you think make sense.