File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,9 @@ After cloning into mafia using command bellow:
7
7
$git clone https://github.com/sadrasabouri/mafia
8
8
```
9
9
You should do these tiny steps:
10
- 0 . [ Install pip3]
10
+
11
+ 0 . <b >[ Install pip3] </b >
12
+
11
13
First check if you have ` pip3 ` installed in your system:
12
14
```
13
15
$pip3 --version
@@ -17,18 +19,21 @@ if you already have installed `pip3` youu should see something like above, other
17
19
```
18
20
$sudo apt install python3-pip
19
21
```
20
- 1 . Instaling requiremets:
21
- Then install <b >mafia</b > requirements by
22
+ 1 . <b >Instaling requiremets:</b >
23
+
24
+ Then install mafia requirements by
22
25
```
23
26
$pip3 install -r requirements.txt
24
27
```
25
- 3 . Run the server application
28
+ 3 . <b >Run the server application</b >
29
+
26
30
Now everything is ready, lets play:
27
31
run the command ` $python3 mafia.py number_of_players[int] ` , for example imagine you want to play mafia with 5 players.
28
32
```
29
33
$python3 mafia.py 5
30
34
```
31
- 4 . Getting roles
35
+ 4 . <b >Getting roles</b >
36
+
32
37
There you go, now each player can open a browser and type ` serverhost:port_name ` .
33
38
34
39
In defualt mode your address should be ` server_ip:5000 ` .
You can’t perform that action at this time.
0 commit comments