Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Tableau contenant les images du film
- local frames = {
- { " __ ", " / \\ ", "| () |", " \\__/ " },
- { " (()) ", "|/\u{203E}\\|", "(_/\\_)", " / \\ " },
- { " ", " (__) ", " /oo\\ ", " \\--/ " },
- { " ", " || ", " \\__/ ", " /$$\\ " },
- { " ", " ^^ ", " (oo) ", "(__)__)"},
- }
- -- Fonction pour afficher une image sur l'écran
- local function displayFrame(frame)
- term.clear()
- term.setCursorPos(1, 1)
- for _, line in ipairs(frame) do
- print(line)
- end
- end
- -- Boucle pour afficher chaque image du film
- while true do
- for _, frame in ipairs(frames) do
- displayFrame(frame)
- os.sleep(0.5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement