Skip to content

Commit 47e3315

Browse files
committed
change : role descriptions changed due to #3 and will close #3.
1 parent 30c1d9e commit 47e3315

File tree

2 files changed

+30
-26
lines changed

2 files changed

+30
-26
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ Dead players are not permitted to attempt to influence the remainder of the game
7979
The game continues until a faction achieves its win condition; for the Residents, this usually means eliminating the whole mafia team, while for the minority this usually means reaching numerical parity with the Residents.
8080

8181
### Roles
82-
| Role | image(s) |
83-
| :-------------: |:----------------------------------------------------------------------------------------------------------------------------: |
84-
| Don | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Don_1.png"> |
85-
| Mafia | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Mafia_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Mafia_2.png"> |
86-
| Rebel | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Rebel_1.png"> |
87-
| Detective | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Doctor_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Doctor_2.png"> |
88-
| Detective | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Detective_1.png"> |
89-
| Bulletproof | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Bulletproof_1.png"> |
90-
| Resident | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_2.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_3.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_4.png"> |
82+
| Role | image(s) | Descriptions |
83+
|:----:|:--------:|:------------:|
84+
| Don | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Don_1.png"> | Don is the boss of the mafia group. At night mode Don decides whom to be killed from the mafia team.Don can't be detected by detective. |
85+
| Mafia | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Mafia_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Mafia_2.png"> | Mafia is the simple participant of the mafia team. Mafia gets up at night and try to decide which one of the players they want to kill, detective can detect this kind of mafia in night mode. |
86+
| Rebel | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Rebel_1.png"> | Rebel is from city team which gets up at night mode and kills a person.if the victim was chosen from residents, Rebel (him/her)self may die. |
87+
| Doctor | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Doctor_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Doctor_2.png"> | Doctor is a helpful participant of city team which gets up after mafia team and tries to rescue a person (or two in the first night) from mafia's shot. |
88+
| Detective | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Detective_1.png"> | Detective is from city team gets up at night mode and tries to ask GOD if someone is good (Resident, Doctor, Rebel, Bulletproof) or bad(Mafia), but his/her first attempt to ask from. Don may be answered incorrect by GOD. |
89+
| Bulletproof | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Bulletproof_1.png"> | Bulletproof is the most powerful resident which doesn't hurt from night shots. he/she won't die through night mode. |
90+
| Resident | <img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_1.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_2.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_3.png"><img width="100" height="100" src="https://raw.githubusercontent.com/sadrasabouri/mafia/master/static/images/roles/Resident_4.png"> | Resident is the typical player of the game. he/she has no power but to blame mafia in order to remove them from the game in day mode. |
9191

9292
## References
9393
Icons made by <a href="https://www.flaticon.com/authors/vectors-market" title="Vectors Market">Vectors Market</a> and <a href="https://www.flaticon.com/authors/pixel-perfect" title="Pixel perfect">Pixel perfect</a> from <a href="https://www.flaticon.com/" title="Flaticon"> www.flaticon.com</a>

mafia_params.py

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,29 @@
2727
"Detective" : 1,
2828
"Bulletproof" : 1}
2929

30-
descriptions = {"Don" : "Don is the boss of the mafia group. At night mode Don decides whom to be killed from the mafia team.",
31-
"Resident" : "Resident is the typical player of the game. he/she has no power but to blame mafia in order to remove them from the game in day mode.",
32-
"Mafia" : "Mafia is the simple participant of the mafia team. Mafia gets up at night and try to decide which one of the players they want to kill.",
33-
"Doctor": "Doctor gets up after mafia team and tries to rescue a person (or two in the first night) from mafia's shot.",
34-
"Detective" : "Detective gets up after Doctor and tries to ask GOD if someone is good (Resident, Doctor, Rebel, Bulletproof)."
35-
"or bad(Mafia), but his/her first attempt to ask from Don may be answered incorrect by GOD.",
36-
"Rebel" : "Rebel gets up at night mode and kills a person.if the victim was chosen from residents, Rebel (him/her)self may die.",
37-
"Bulletproof" : "Bulletproof doesn't hurt from night shots. he/she won't die through night mode."}
30+
descriptions = {"Don" : "Don is the boss of the mafia group. At night mode Don decides whom to be killed from the mafia team."
31+
"Don can't be detected by detective.",
32+
"Resident" : "Resident is the typical player of the game. he/she has no power but to blame mafia in order to remove "
33+
"them from the game in day mode.",
34+
"Mafia" : "Mafia is the simple participant of the mafia team. Mafia gets up at night and try to decide which one of"
35+
"the players they want to kill, detective can detect this kind of mafia in night mode.",
36+
"Doctor": "Doctor is a helpful participant of city team which gets up after mafia team and tries to rescue a person"
37+
" (or two in the first night) from mafia's shot.",
38+
"Detective" : "Detective is from city team gets up at night mode and tries to ask GOD if someone is good"
39+
" (Resident, Doctor, Rebel, Bulletproof) or bad(Mafia), but his/her first attempt to ask from"
40+
" Don may be answered incorrect by GOD.",
41+
"Rebel" : "Rebel is from city team which gets up at night mode and kills a person.if the victim was chosen from"
42+
" residents, Rebel (him/her)self may die.",
43+
"Bulletproof" : "Bulletproof is the most powerful resident which doesn't hurt from night shots. he/she won't die"
44+
" through night mode."}
3845

39-
descriptions_fa = {"Don" : "دن رییس گروه مافیا است. در شب دن تصمیم می گیرد که چه کسی را از طرف تیم مافیا خارج کند",
46+
descriptions_fa = {"Don" : "اين نقش سردسته تيم مافيا مي باشد و مسئوليت تيم مافيا بر عهده دُن است.امتياز حائز اهميتی که دُن در بازی دارد اين است که استعلامش توسط کاراگاه همانند شهروندان منفی میباشد.",
4047
"Resident" : "شهروند عضو ساده شهر است. تنها قدرتی که شهروند دارد حذف افراد به واسطه رای گیری در روز است",
41-
"Mafia" : "مافیا عضو ساده تیم مافیا است. او هر شب بیدار می شود و به همراه مافیا دیگر عضو پیشنهادی برای حذف را به دن معرفی میکنند",
42-
"Doctor": "دکتر عضو تیم شهروندان است. او هر شب از خواب بیدار می شود و یک (یا ۲ در شب اول) نفر را از خطر مرگ توسط مافیا حفظ میکند",
43-
"Detective" : "کار آگاه عضو تیم شهروندان است. او در شب از خواب بیدار می شود و از یکی از بازیکن ها استعلام میگیرد"
44-
" خدا وضعیت شخص را (مافیا بودن یا نبودن او را) به اطلاعش می رساند. ضمنا اولین استعلام کارآگاه راجع به دن"
45-
"وضعیت او را مشخص نمیکند",
46-
"Rebel" : "شورشی عضو تیم شهروندان است. او در شب از خواب بیدار می شود و سعی میکند یکی از اعضای تیم مافیا را هدف بگیرد در صورتی که"
47-
"او مافیا را به درستی تشخیص دهد مافیا خواهد مرد و در غیر این صورت شورشی در اثر غم کشتن یک شهروند خود می میرد",
48-
"Bulletproof" : "ضد ضربه از ضربات شب مافیا و شورشی در امان است. او هیچگاه در شب نمی میرد"}
48+
"Mafia" : "از اعضای تیم مافیا میباشد و اگر کارآگاه از او استعلام بگیرد، استعلامش مثبت می شود",
49+
"Doctor": "دکتر يکی از اعضای تیم شهروند ميباشد که در فاز شب به فرمان خدای بازی چشم هايش را باز کرده و ميتواند خود و يا يکی از بازيکنان را از حذف شدن و کشته شدن در فاز شب بازی نجات دهد.",
50+
"Detective" : "کارآگاه يکی از اعضای تیم شهروند ميباشد که در فاز شب چشم هايش را باز کرده و ميتواند از خدای بازی هويت يکی از افراد بازی را بپرسد ، و خدا با اشاره بله يا خیر به کاراگاه ميگويد که فرد استعلام شده جزو اعضای مافيا هست يا نه",
51+
"Rebel" : "از اعضای تیم شهروند میباشد و در فاز شب میتواند کسی را که فکر میکند مافیا است را هدف قرار دهد اگر شخص مافیا بود خواهد مرد.اما اگر شورشی به اشتباه یک شهروند را هدف قرار دهد خودش خواهد مرد.",
52+
"Bulletproof" : "ضد ضربه قوی ترين شهروند بازی ميباشد ،و از هر تير مافیا در فاز شب در امان ميباشد.بنابرين ضد ضربه توسط مافيا در فاز شب قابل کشته شدن نميباشد"}
4953

5054
role2fa = {"Don" : "دن",
5155
"Resident" : "شهروند",

0 commit comments

Comments
 (0)