Game chọn đường

import random, time

def gioithieu():
print "Ban bi lac vao 1 hon dao khong co nguoi, that khong may cho ban lac hon dao nay la hon dao cua rong"
print "Ban cu di va cu di, bat ngo truoc mat ban la 2 con duong."
print "1 con duong di den noi cu tru cua cac loai rong, va chac chan rang ban se bi an thit"
print "1 con duong se di den 1 con thuyen va ban co the thoat ra ngoai va duoc ve nha"
print ""

def chon():
chon = ''
while chon !=1 and chon !=2:
print "Ban chon duong nao? (1 hoac la 2) "
chon=raw_input()
return chon

def check(chon):
print "Ban buoc tiep tren con duong ban da chon, di vao 1 canh rung."
time.sleep(2)
print "Troi toi den nhu muc, nhung ban van cu buoc tiep."
time.sleep(2)
print "Dot nhien, xuat hien........"
time.sleep(2)

x=random.randint(1,2)
if chon == str(x):
print "1 bo bien va co 1 con thuyen, O duoi bien co rat nhieu ca voi dang doi ban. Ban se tieps tuc di tiep chu?"
else:
   print "hang tram con rong chay den vo lay ban, ........"

choilai = 'yes'
while choilai=='yes' or choilai=='y':
gioithieu()
chonduong=chon()
check(chonduong)
print "Ban co muon choi lai khong? (yes or no)"
choilai = raw_input()