guide/crime5/typewrite.sh hinzugefügt

This commit is contained in:
2025-11-17 09:06:23 +00:00
parent 8075d6de67
commit 571792690d

17
guide/crime5/typewrite.sh Normal file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
type_text() {
local text="$1"
local delay="$2"
local i
for ((i=0; i<${#text}; i++)); do
printf "%c" "${text:$i:1}"
sleep "$delay"
done
printf "\n"
}
type_text "Willkommen im Escape Room..." 0.05
type_text "Dieses Level wird dich testen." 0.03
type_text "Viel Glück, Spieler." 0.1