Tic-tac-toe
This commit is contained in:
parent
67ee613100
commit
84b7b441c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user