Skip to content

Commit 1dc3ac2

Browse files
committed
fix : minor displacements fixed.
1 parent 9cd4bb6 commit 1dc3ac2

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ After cloning into mafia using command bellow:
77
$git clone https://github.com/sadrasabouri/mafia
88
```
99
You should do these tiny steps:
10-
1. Instaling requiremets:
10+
0. [Install pip3]
1111
First check if you have `pip3` installed in your system:
1212
```
1313
$pip3 --version
@@ -17,23 +17,24 @@ if you already have installed `pip3` youu should see something like above, other
1717
```
1818
$sudo apt install python3-pip
1919
```
20-
Otherwise/Then install <b>mafia</b> requirements by
20+
1. Instaling requiremets:
21+
Then install <b>mafia</b> requirements by
2122
```
2223
$pip3 install -r requirements.txt
2324
```
25+
3. Run the server application
2426
Now everything is ready, lets play:
2527
run the command `$python3 mafia.py number_of_players[int]`, for example imagine you want to play mafia with 5 players.
2628
```
2729
$python3 mafia.py 5
2830
```
31+
4. Getting roles
2932
There you go, now each player can open a browser and type `serverhost:port_name`.
3033

31-
In defualt mode your desired address should be `server_ip:5000`.
32-
33-
Each player should see a page like this in his/her browser:
34-
<img src="https://raw.githubusercontent.com/sadrasabouri/mafia/README_update/doc/Pictures/mobile_browser.png">
35-
And the GOD can track player's role by checking CLI:
36-
<img src="https://raw.githubusercontent.com/sadrasabouri/mafia/README_update/doc/Pictures/CLI.png">
34+
In defualt mode your address should be `server_ip:5000`.
35+
| What Player should see in the browser | What GOD should see in the CLI |
36+
|:-------------------------------------:|:------------------------------:|
37+
| <img width="216" height="384" src="https://raw.githubusercontent.com/sadrasabouri/mafia/README_update/doc/Pictures/mobile_browser.png"> | <img width="435" height="204" src="https://raw.githubusercontent.com/sadrasabouri/mafia/README_update/doc/Pictures/CLI.png"> |
3738

3839
### Roles
3940
| Role | image(s) |

0 commit comments

Comments
 (0)