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