U E D R , A S I H C RSS

실시간멀티플레이어게임프로젝트/첫주차소스2

~cpp 
brain = (0, 0)
heart = (0, 3000)
stomach = (0, 5000)

organ = [brain, heart, stomach]

import random, math, time
position = random.choice(organ)
print "Your position is " ,position

def Scan(pos):
    scanlimit = 10000
    print "Follow organ is in" ,scanlimit
    for i in organ:
        if math.sqrt( (i[0] - pos[0])**2 + (i[1] - pos[1])**2 ) < scanlimit:
            print i

def inputDes():
    Des = input("Where is your Des")
    Speed = input("Speed??")
    time.localtime()[:6]
    

Scan(position)
inputDes()
print 'aaa'
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:19
Processing time 0.0157 sec