|
|
|
@ -114,9 +114,10 @@ def draw_right_animals(r_elephant,r_eagle,r_wolf,r_lion,r_leopard,r_mouse,r_fox)
|
|
|
|
|
|
|
|
|
|
def draw_window(l_elephant,l_eagle,l_wolf,l_lion,l_leopard,l_mouse,l_fox,r_elephant,r_eagle,r_wolf,r_lion,r_leopard,r_mouse,r_fox,id, x, y, status, MAP, MAP1,turn):
|
|
|
|
|
WIN.blit(SPACE,(0,0))
|
|
|
|
|
path(id, x, y, status, MAP, MAP1, turn)
|
|
|
|
|
|
|
|
|
|
draw_left_animals(l_elephant,l_eagle,l_wolf,l_lion,l_leopard,l_mouse,l_fox)
|
|
|
|
|
draw_right_animals(r_elephant,r_eagle,r_wolf,r_lion,r_leopard,r_mouse,r_fox)
|
|
|
|
|
path(id, x, y, status, MAP, MAP1, turn)
|
|
|
|
|
#WIN.blit(L_fox,(fox.x,fox.y))
|
|
|
|
|
pygame.display.update()
|
|
|
|
|
|
|
|
|
@ -1814,7 +1815,7 @@ def main():
|
|
|
|
|
pygame.display.update()
|
|
|
|
|
time.sleep(2)
|
|
|
|
|
#os.system("pause")
|
|
|
|
|
|
|
|
|
|
return start_game.starting_screen()
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
|
again = 1
|
|
|
|
@ -1822,5 +1823,5 @@ if __name__ == "__main__":
|
|
|
|
|
l_elephant, l_eagle, l_wolf, l_lion, l_leopard, l_mouse, l_fox, r_elephant, r_eagle, r_wolf, r_lion, r_leopard, r_fox, r_mouse=init.refresh()
|
|
|
|
|
draw_window(l_elephant, l_eagle, l_wolf, l_lion, l_leopard, l_mouse, l_fox, r_elephant, r_eagle, r_wolf, r_lion,
|
|
|
|
|
r_leopard, r_mouse, r_fox,0,0,0,0,0,0,0)
|
|
|
|
|
main()
|
|
|
|
|
again = main()
|
|
|
|
|
pygame.quit()
|
|
|
|
|