fixa lite i launchern
This commit is contained in:
parent
3e20b79fa3
commit
dc3e5c1544
@ -1,7 +1,7 @@
|
|||||||
from game_layer import GameLayer
|
from game_layer import GameLayer
|
||||||
api_key = "74e3998d-ed3d-4d46-9ea8-6aab2efd8ae3"
|
api_key = "74e3998d-ed3d-4d46-9ea8-6aab2efd8ae3"
|
||||||
game_layer = GameLayer(api_key)
|
game_layer = GameLayer(api_key)
|
||||||
state = game_layer.game_state
|
def clear_it():
|
||||||
game_layer.force_end_game()
|
game_layer.force_end_game()
|
||||||
game_layer.force_end_game()
|
game_layer.force_end_game()
|
||||||
game_layer.force_end_game()
|
game_layer.force_end_game()
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import main
|
import main
|
||||||
import time
|
import clearGames
|
||||||
from multiprocessing import Pool
|
from multiprocessing import Pool
|
||||||
import multiprocessing
|
|
||||||
|
|
||||||
proc_running = 4 # MAX 4!!!
|
proc_running = 4 # MAX 4!!!
|
||||||
|
|
||||||
@ -18,6 +17,7 @@ def launch(list):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
clearGames.clear_it()
|
||||||
with Pool(proc_running) as p:
|
with Pool(proc_running) as p:
|
||||||
results = p.map(run_main, range(proc_running))
|
results = p.map(run_main, range(proc_running))
|
||||||
launch(results)
|
launch(results)
|
||||||
|
Reference in New Issue
Block a user