-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesign.py
24 lines (19 loc) · 1.28 KB
/
design.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from functions import decorate, ascii_text
def rules(): # Some Game rules, first shown at screen !
decorate(" ************************************************************ ")
decorate(" * * ")
decorate(" * Welcome to Word jumbling, Suffle, re-arange Game! * ")
decorate(" * * ")
decorate(" ************************************************************ ")
decorate("Game Rules --->> Two-player game | Each time a player enters a word and the game shows the word in shuffle form.")
decorate(
"Then player 2 will guess it. If the correct, then player 2 enter a word, and player 1 will guess it !")
decorate(
"Both the player will get three hints, one each time if they can't answer the word at once ..!")
decorate("The Game will run, untill player exit it !")
def loading_screen(p1, p2): # welcome player 1 and 2
ascii_text(f"WELCOME {p1} and {p2}")
decorate(f"We start with {p1} turn ..!")
decorate("Don't show the word to your opponent !")
# -> decorate is a function which you find at functions.py file
# -> It's just like print function, but it prints statements with different colors !