# Победа
# Демонстрирует вывод сообщения на экран
from livewires import games, color

games.init(screen_width=640, screen_height=480, fps=50)
wall_image = games.load_image("wall.jpg", transparent=False)
games.screen.background = wall_image
won_message = games.Message(value="Победа",
                            size=100,
                            color=color.red,
                            x=games.screen.width/2,
                            y=games.screen.height/2,
                            lifetime=250,
                            after_death=games.screen.quit)
games.screen.add(won_message)
games.screen.mainloop()
