Example #1
0
    def wake_up_god(self, big_bang_file):

        print "God RAM was called! He woke up!\n"

        data = None
        with open(big_bang_file, 'r') as file:
            data = json.load(file)
        return God.God(data)
from God import *

print('hello ..')

start_time = time.time()

g = God()
g.initializeFirstGeneration()
g.applyEvolution()

print time.time() - start_time, "seconds"

print('bye ..')
Example #3
0
import God

god = God.God()
player = 'Koharix'
# #pms = PubgLogic.getPlayerRecentMatchStat(player)
# #SheetsLogic.setRecentMatchId(pms)
# # pms = PubgLogic.getPlayerRecentMatchStat('Koharix')
# # SheetsLogic.appendPms(pms)
# # print(SheetsLogic.getMostRecentMatchId())
# PubgLogic.printJson(PubgLogic.getMatchHistory(PubgLogic.getPlayerInfo(player)))
# recentStoredMatchId = SheetsLogic.getRecentMatchId()
# array = PubgLogic.getUnstoredMatchIds(recentStoredMatchId)
# print(array)
god.cl.storeRecentMatchs(god.ui.region)