A Nomic game in Haskell
Nomyx is a strange game where you can change the rules of the game, while playing! In fact, changing the rules is the goal of the game. Changing a rule is considered as a move. Of course even that can be changed! In this game, the player can enter new rules in a dedicated language, modify existing ones, thus changing completely the behaviour of the game through time.
More info on this blog post
First install Haskell Stack:
$ sudo apt-get update
$ curl -sSL https://get.haskellstack.org/ | sh
To install from the GitHub repo:
$ git clone --recursive https://github.com/nomyx/Nomyx.git
$ cd Nomyx/nomyx-server
$ stack setup
$ stack install
Launch with the command:
$ stack exec nomyx-server
and follow the instructions. You may connect using a web browser to the provided address. You can play with the GUI and propose some rules!
docker build -t cdupont2/nomyx .
docker push cdupont2/nomyx
ecs-cli compose down
ecs-cli compose up
See the issues for known bugs.
Run tests with:
$ Nomyx/tests.sh