yet more interactive experince improvements

This commit is contained in:
Matt Arnold 2025-08-30 10:33:57 -04:00
parent 16a71dd756
commit 24bec03255
2 changed files with 42 additions and 7 deletions

24
clow.sh
View File

@ -4,9 +4,17 @@ set -e
# one Card for each of the cardinals Also 4 stages of the day
draw_card() {
local C=$((RANDOM % 52 + 1))
recsel -e "Order=$C" cards.rec | sed 's/+//g'
recsel -e "Order=$C" cards.rec | sed 's/+//g' | fold -w 79
}
credits() {
echo -e "This is a fortune telling Program based on"
echo -e "The CLAMP anime/manga Cardcaptor Sakura"
echo -e "And the Fortune Telling Manual released by CLAMP"
echo -e "Originally Translated by Vanessah Howard of http://moonlitunderground.org\n and Kokuei (partially)."
echo -e "Digital conversion by Pius with Luce"
}
full_reading() {
local N=$((RANDOM % 52 + 1))
local S=$((RANDOM % 52 + 1))
@ -44,14 +52,10 @@ cleanup_exit() {
}
echo -e "\033[37;44m"
clear
cat kero.txt
echo -e "You have opened the book of the Clow"
echo -e "This is a fortune telling Program based on"
echo -e "The CLAMP anime/manga Cardcaptor Sakura"
echo -e "And the Fortune Telling Manual released by CLAMP"
echo -e "Originally Translated by Vanessah Howard of http://moonlitunderground.org and Kokuei (partially)."
echo -e "Digital Conversion by Pius with help from Luce"
while true; do
read -r -p "Menu: Draw/Reading/Quit " answer
read -r -p "Menu: Draw/Reading/Credits/Quit " answer
case $answer in
[Dd]*)
clear
@ -63,6 +67,12 @@ while true; do
full_reading
continue
;;
[Cc]*)
clear
credits
continue
;;
[Qq]*) cleanup_exit ;;
*) echo "Valid Choices are D/R/Q." ;;
esac

25
kero.txt Normal file
View File

@ -0,0 +1,25 @@
⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠙⢦⡀⠀⠀⠀⠀⠀⠀⣀⡴⠞⠋⠋⠛⠳⢦⡀⠀⠀⢀⣀⣠⣤⣤⣄⣀⣀⠀⠀⠀⣠⡶⠟⠉⠉⠛⠶⣤⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋
⠀⠀⠀⠙⢶⣄⠀⠀⢀⡼⢋⣴⡶⠶⣶⣤⠀⠀⠙⠶⠛⠉⠁⠀⠀⠀⠀⠀⠈⠙⠳⠞⠁⠀⣠⣶⡿⠿⢷⣌⠳⠀⠀⠀⠀⣀⡴⠋⠀⠀
⠀⠀⠀⠀⠀⠉⠳⣤⣾⢡⡟⠁⠀⠀⠈⢻⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⡟⠁⠀⠀⠀⠙⣧⢹⡎⣠⡾⠋⠁⠀⠀⠀
⢦⡀⠀⠀⠀⠀⠀⢰⡇⡿⠄⠀⠀⠀⣀⡾⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢿⡀⠀⠀⠀⠀⢺⡦⡟⠁⠀⠀⠀⠀⢀⡴
⠳⢿⣶⣄⠀⠀⠀⢸⡇⣧⠀⠀⠀⠀⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣷⠀⠀⠀⠀⣼⢰⠇⠀⠀⠀⣠⡔⣁⡤
⠀⠀⠈⠙⠷⣤⡀⠀⢿⡸⣦⠀⠀⢰⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡆⠀⠀⣰⢃⡿⠀⢀⣤⣾⠷⠚⠉⠀
⡀⠀⠀⠀⠀⠀⠉⠳⠮⠷⣜⢷⣄⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡇⣠⡾⢡⡞⣡⠶⠟⠉⠀⠀⠀⠀⠀
⠛⢦⣄⠀⠀⠀⠀⠀⠀⠀⠈⠳⣬⣹⡄⠀⠀⠀⣠⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣄⠀⠀⠀⢠⣏⣩⡶⠋⠀⠁⠀⠀⠀⠀⠀⣀⡤⠚
⠀⠀⠈⢙⣲⣦⣄⣀⠀⠀⠀⠀⠀⠙⢿⡀⠀⠈⠀⠁⠀⠀⠀⠀⠐⠖⠀⠀⠀⠀⠁⠈⠀⠀⠀⣼⠋⠁⠀⠀⠀⠀⣀⣤⣶⣚⡋⠁⠀⠀
⠀⠀⢰⡏⠉⠉⠙⢛⠛⠛⠒⠲⠦⠀⠈⢿⡛⠋⠀⠀⠀⠀⠰⣀⣶⣀⠆⠀⠀⠀⠀⠈⠙⠛⣿⠟⠦⣄⡠⠶⠚⠛⠋⠉⠉⠉⢉⣷⠀⠀
⠀⠀⠈⠻⣄⢀⡴⠚⠒⠒⠒⠒⠒⠒⠒⠛⠻⢦⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠞⠁⠀⠀⠈⠳⣦⡀⠀⠀⢀⣀⣤⠞⠋⠀⠀
⠀⠀⠀⠀⠈⢻⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⡷⢦⣄⣀⣀⠀⠀⠀⣀⣀⣤⢶⣿⠇⠀⠀⠀⠀⠀⠀⠈⢳⡞⠋⠉⠁⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠉⠳⢦⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠙⣷⣍⣉⣉⣋⣉⣋⣉⣁⣴⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⡄⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⠒⠲⠶⣤⣤⠶⠚⣿⣍⣹⣷⡀⠀⠀⡉⠉⣉⠛⠓⠾⣿⣓⡲⢤⣄⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⠋⠀⠘⠷⠶⠿⣿⣿⣀⣶⣿⣿⠿⣿⡇⣀⣠⣤⠙⣶⠀⠈⠙⢦⡀⠀⢠⡿⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⡷⣄⡀⠀⠀⠀⠛⠛⠛⠛⠉⠑⠶⠾⠟⠋⢉⣠⣾⡷⠀⠀⠀⠀⠛⠒⠛⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⡟⢶⣍⡛⠒⡶⠤⠤⣤⠤⠤⠤⢴⡖⢒⣫⣽⠿⠟⠷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣤⣴⢤⣄⠀⠀⣿⠀⠈⡟⠻⠯⠿⢞⡋⣛⠷⠒⠛⠹⠿⠛⣧⡴⠛⠋⠉⢹⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⣧⠀⠀⠹⣧⠀⣼⠀⠀⣧⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡿⣿⠿⠀⣺⡿⢗⣶⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢰⠏⠀⣀⡀⣿⠀⢸⡇⠀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⡇⣿⠀⡾⠋⠀⢠⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢿⠀⠀⠉⠻⢿⢦⣜⣿⡀⢻⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⢻⣟⣼⠇⠀⠀⣸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⢸⠀⠀⠀⠀⠀⠀⠈⠛⣧⣸⡇⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣼⣼⣿⣯⡄⠆⣰⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⡿⠀⠀⠀⠀⠀⠀⠀⠀⠈⢻⣿⣿⣷⣶⣶⣶⣿⣿⡿⢿⣿⣿⠿⠁⠀⠀⢀⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢷⡶⠒⠒⠲⠶⠞⠋⠉⠀⠀⠀⠀⠀⢸⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀