Chrisyichuan commited on
Commit
92a23e7
·
1 Parent(s): 54ffdad

finish code and can use it in no move and no turn

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. geoguessr_bot.py +3 -3
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
geoguessr_bot.py CHANGED
@@ -163,10 +163,10 @@ class GeoBot:
163
 
164
  def select_map_location(self, x: int, y: int, plot: bool = False) -> None:
165
  # Hovering over the minimap to expand it
166
- # pyautogui.moveTo(self.map_x+self.map_w-15, self.map_y+self.map_h-15, duration=0.5)
167
  #bot.screen_w-50, bot.screen_h-80
168
- pyautogui.moveTo(self.screen_w-50, self.screen_h-80, duration=1.5)
169
- print(self.screen_w-50, self.screen_h-80)
170
  print('finish moving')
171
  sleep(1.5)
172
 
 
163
 
164
  def select_map_location(self, x: int, y: int, plot: bool = False) -> None:
165
  # Hovering over the minimap to expand it
166
+ pyautogui.moveTo(self.map_x+self.map_w-15, self.map_y+self.map_h-15, duration=0.5)
167
  #bot.screen_w-50, bot.screen_h-80
168
+ # pyautogui.moveTo(self.screen_w-50, self.screen_h-80, duration=1.5)
169
+ # print(self.screen_w-50, self.screen_h-80)
170
  print('finish moving')
171
  sleep(1.5)
172