From 7fa5d10c2ad4afb38362a854cbe1f26f8d43f5cf Mon Sep 17 00:00:00 2001 From: Evgeny Zemtsov Date: Wed, 26 Jun 2019 12:32:02 +0200 Subject: [PATCH] Correct ReadMe and minor cosmetic updates --- README.md | 14 ++++++++++++-- stack.yaml | 7 ++++--- web/index.html | 4 ++-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d2263a5..a2f6060 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ # PlayWithMe -### This is a placeholder for multiplayer 5-in-a-row -### Work is under the progress +### This is a multiplayer 5-in-a-row +#### Backend is build in Haskell + +### Instructions to run the server: +#### 0. Install haskell stack +#### 1. git clone {this repository} +#### 2. cd PlayWithMe +#### 3. stack build +#### 4. stack exec server +#### 5. Open {server-ip}:8080/ + +#### Note: ports 8080 and 9160 should be available \ No newline at end of file diff --git a/stack.yaml b/stack.yaml index 03f6fdb..bdb458c 100644 --- a/stack.yaml +++ b/stack.yaml @@ -64,6 +64,7 @@ packages: # Allow a newer minor version of GHC than the snapshot specifies # compiler-check: newer-minor -nix: - enable: true - packages: [zlib] \ No newline at end of file +# Uncomment that to make it work on NixOS +# nix: +# enable: true +# packages: [zlib] \ No newline at end of file diff --git a/web/index.html b/web/index.html index 6ac553a..8565576 100644 --- a/web/index.html +++ b/web/index.html @@ -13,7 +13,7 @@ -

Start a new game?

+

Enter your name to join the game

To join an existing session use the session URL

@@ -24,7 +24,7 @@

Start a new game?

+ disabled>Join game