Skip to content

Commit 83572c0

Browse files
committed
edit : Intro section edited.
1 parent 5cba021 commit 83572c0

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

README.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,48 @@
11
# mafia
22
:dollar: Web Server Application For Mafia Game Playing On Local Network
33

4+
Playing mafia game made easy simply by having
5+
+ a system to run <b>mafia</b> on it (We call it FekroBot)
6+
+ a hotspot that can provide a local host for us (your WIFI modem or your mobile hotspot)
7+
There you go, lets play some mafia :sunglasses:.
8+
49
## Usage
510
After cloning into mafia using command bellow:
611
```
7-
$git clone https://github.com/sadrasabouri/mafia
12+
$ git clone https://github.com/sadrasabouri/mafia
813
```
914
You should do these tiny steps:
1015

1116
0. <b>[Install pip3]</b>
1217

1318
First check if you have `pip3` installed in your system:
1419
```
15-
$pip3 --version
20+
$ pip3 --version
1621
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
1722
```
18-
if you already have installed `pip3` youu should see something like above, otherwise run the command bellow to install it:
23+
if you already have installed `pip3` you should see something like above, otherwise run the command bellow to install it:
1924
```
20-
$sudo apt install python3-pip
25+
$ sudo apt install python3-pip
2126
```
2227
1. <b>Instaling requiremets:</b>
2328

2429
Then install mafia requirements by
2530
```
26-
$pip3 install -r requirements.txt
31+
$ pip3 install -r requirements.txt
2732
```
2833
3. <b>Run the server application</b>
2934

3035
Now everything is ready, lets play:
3136
run the command `$python3 mafia.py number_of_players[int]`, for example imagine you want to play mafia with 5 players.
3237
```
33-
$python3 mafia.py 5
38+
$ python3 mafia.py 5
3439
```
3540
4. <b>Getting roles</b>
3641

3742
There you go, now each player can open a browser and type `serverhost:port_name`.
3843

3944
In defualt mode your address should be `server_ip:5000`.
40-
| What Player should see in the browser | What GOD should see in the CLI |
45+
| What player should see in the browser | What GOD should see in the CLI |
4146
|:-------------------------------------:|:------------------------------:|
4247
| <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"> |
4348

0 commit comments

Comments
 (0)