-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
37 lines (27 loc) · 988 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TicToe.io
=========
### Installation Instructions:
1. Download and install brew:
>`/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
2. Download Scala Build Tools:
>`brew install sbt`
3. Clone the project to the folder tictoe:
>`git clone https://github.com/wsmidt/tictoe.io.git tictoe`
4. Build the project
>`sbt`
>
>`compile`
5. Run the project
>`sbt`
>
>`run`
6. Connect to the application
As soon as it says:
>`--- (Running the application, auto-reloading is enabled) ---`
>`[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000`
>`(Server started, use Ctrl+D to stop and go back to the console...)`
7. Get the following [Chrome extention here][chrome-websocket]
8. Using the Chrome websocket extension, visit:
> ws://localhost:9000/connect
9. Run two websockets to start the game.
[chrome-websocket]: https://chrome.google.com/webstore/detail/simple-websocket-client/pfdhoblngboilpfeibdedpjgfnlcodoo?hl=en