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.initialize_first_generation()
g.apply_evolution()

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

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

adam.sin() # one trespass
earth.people.condemned() # condemnation for all people
God.give(moses, God.law) # law was given through moses

earth.add(Jesus) # coming into the world
Jesus.become(human) # The Word became flesh
earth.Jesus.sacrifice() # Christ as a sacrifice
Jesus.defeat(earth.death) # saved through his life

for person in earth.people: # the world
	try: # all have sinned
		person.obey(God) # all have sinned
		person.sin() # all have sinned
		#earth.sin += 1 # trespass might increase

	except: # we have all received grace
		person.receive(God.wrath) # God's wrath
		person.status = God.enemy # we were God’s enemies
		person.given(Jesus.grace) # we have all received grace
		#earth.grace += 2 # grace increased all the more

		#if (not person.receive(Jesus)): # did not receive him
			#person.master = earth.sin # sin reigned in death
			#person.spirit.dead = True # sin reigned in death

		if (person.receive(Jesus.grace) and 
Example #4
0
import God

lilei = God.Man('lilei', 'no')
lilei.smoke()

hanmeimei = God.Woman("hanmeimei", 'yes')
hanmeimei.shopping()

import sys
sys.path.append('./day01')
import mokuai
zui = mokuai.mouth
zui.eat('apple')
mokuai.drink('cola')
Example #5
0
egypt = earth.egypt
moses = israelites.leader

for family in israelites:
	lambs = family.lambs.withoutDefects
	family.lamb = family.chooseFrom(lambs)

time.waitFor(time.twilight)

for family in israelites:
	family.lamb.sacrifice()
	family.doorpost.smear(family.lamb.blood)
	family.eat(family.lamb, "quickly")

time.waitFor(time.midnight)

for family in egypt:
	if (family.doorpost.hasBlood):
		God.passOver(family)
	else:
		God.kill(family.firstborn)
		God.kill(family.animals.firstborn)

assert(God.judgment.complete)
if (egypt.permission):
	israelites.leave(egypt)
israelites.obey(moses)
moses.obey(God)
God.deliver(israelites)

from God import *

print('hello ..')

start_time = time.time()

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

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

print('bye ..')
Example #7
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)