A project for the course DATX02 at CHALMERS UNIVERSITY OF TECHNOLOGY.
The project aims to assess the suitability of programmig client-server applications in Haskell using Haste.App, supplying feedback to the devloper and demonstrating advantages (if any).
More concretely the project aims to create a simple game lobby and an implementation of chinese checkers.
Benjamin Block, Joel Gustafsson, Michael Milakovic, Mattias Nilsen, André Samuelsson
The project uses stack and haste-cabal to compile the server and the client respectivly.
Run stack setup
to install the GHC used to compile the project.
Then compile the server and run it by using make all
, this will execute the following commands:
# Builds the project using GHC
stack build
# Builds the project with the haste compiler
haste-cabal configure && haste-cabal build
# Embeds the javascript files in the runnable, force so the command will run even if no changes has been made.
stack exec -- Hastings-exe --embed dist/build/Hastings-exe/Hastings-exe --force
# Run the server
stack exec Hastings-exe