Tic-tac-toe

This commit is contained in:
Arkadiusz Hypki 2023-05-29 18:46:06 +02:00
parent 67ee613100
commit 84b7b441c9

View File

@ -32,4 +32,14 @@ do
fi
done
for ((i=0; i<10; i++))
do
if [ ${ttt[$i]} = "_" ]
then
ttt[$i]="X"
break
fi
done
done