Skip to content
Snippets Groups Projects
Commit 5812f473 authored by Karim Abdelkafi's avatar Karim Abdelkafi
Browse files

Update menu.sh

parent 98d07bdc
No related branches found
No related tags found
1 merge request!4Menu
......@@ -17,24 +17,5 @@ show_menu() {
read option
}
# Boucle du menu
while true; do
show_menu
case $option in
1)
clear
./main.sh
;;
2)
clear
echo "Merci d'avoir joué !"
exit
;;
*)
echo "Option invalide. Veuillez réessayer."
sleep 1
clear
;;
esac
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment