-
Notifications
You must be signed in to change notification settings - Fork 0
/
Store Bot Simulation.py
149 lines (115 loc) · 4.46 KB
/
Store Bot Simulation.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
from time import sleep
import os
import random
# Clear the screen
os.system('cls' if os.name == 'nt' else 'clear')
print("Welcome to PS store 2.0")
print()
sleep(2)
# Display the game list
games_list = [
"GTA 6 PS5 - 350PLN",
"GTA 5 PS5/PS4 - 170PLN",
"Cyberpunk 2077 PS5/PS4 - 150PLN",
"Unravel 2 PS5/PS4 - 125PLN",
"Unravel PS5/PS4 - 70PLN",
"Little nightmares 2 PS5/PS4 - 75PLN",
"Beat Saber PSVR2/PSVR - 180PLN"
]
for game in games_list:
print(game)
PS_PLUS = [
"discount -80%",
"discount -50%",
"discount -25%",
"FREE"
]
this_month = random.choice(PS_PLUS)
print()
user = input("Please enter the PS5 game from the list: ")
if user == "GTA 6":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added GTA6 PS5/PS4 to your shopping cart at 350PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "GTA 5":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added GTA5 PS5/PS4 to your shopping cart at 170PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "Cyberpunk 2077":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added Cyberpunk 2077 PS5/PS4 to your shopping cart at 150PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "Unravel 2":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added Unravel 2 PS5/PS4 to your shopping cart at 125PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "Unravel":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added Unravel PS5/PS4 to your shopping cart at 70PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "Little nightmares 2":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added Nightmares 2 PS5/PS4 to your shopping cart at 75PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
if user == "Beat Saber":
ps_plus_subscriber = input("Are you a PS PLUS subscriber? (yes/no): ").lower()
if ps_plus_subscriber == "yes":
print("Processing...")
sleep(2)
print(f"You received this game with a {this_month} discount!")
elif ps_plus_subscriber == "no":
print("Added Beat Saber PSVR2/PSVR to your shopping cart at 130PLN.")
print()
print("Transaction in progress...")
sleep(3)
print("Thank you for your purchase.")
else:
print("This game is not available for PS PLUS promotions or has not been selected.")