17 lines
165 B
Bash
Executable File
17 lines
165 B
Bash
Executable File
while true
|
|
do
|
|
|
|
read userinput
|
|
|
|
if [ $userinput = "ping" ]
|
|
then
|
|
echo "pong"
|
|
elif [ $userinput = "exit" ]
|
|
then
|
|
break
|
|
else
|
|
echo "Nie umiesz grać"
|
|
fi
|
|
|
|
done
|