-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathship_resource.py
More file actions
41 lines (35 loc) · 1018 Bytes
/
ship_resource.py
File metadata and controls
41 lines (35 loc) · 1018 Bytes
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
#!/usr/bin/python
import datetime
from utils import *
from ship_common import *
do_enter_game=1
num_match=16
def local_enter_game():
if do_enter_game:
enter_game()
else:
# back to main screen
click(1215, 72, 2)
click(1215, 72, 2)
click(1215, 72, 2)
if __name__ == '__main__':
local_enter_game()
swipe(300, 250, 900, 250, 2)
click(1050, 540, 1, hint='resource dust')
click(640, 340, 1, hint='resource iron')
click(530, 400, 1, hint='resource part')
click(280, 270, 1, hint='resource yellow')
click(500, 160, 1, hint='resource money')
local_enter_game()
#shop
click(1090, 450, 1, hint='shop')
click(960, 680, 2, hint='enter button')
click(215, 200, 2, hint='black market')
for _ in range(0, 4):
click_on('money', sleep_time=2, maxVal=0.95)
# click(600, 270, 1)
# # click(600, 445, 1)
# click(1020, 270, 1)
# # click(1020, 445, 1)
click(1215, 72, 2, 'back to main screen')
go_home()