~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'

Retrieved from http://wiki.zeropage.org/wiki.php/실시간멀티플레이어게임프로젝트/첫주차소스2
last modified 2021-02-07 05:30:19