Array
(
[1] => 1
[2] => 2
[3] => 3
[4] => 4
[5] => 5
[6] => 6
[7] => 7
)
deleting 4.
count will now start from 5
The people still in game:
Array
(
[1] => 1
[2] => 2
[3] => 3
[5] => 5
[6] => 6
[7] => 7
)
the 3 iteration - reached the end. Rewinding...
now current is 1
deleting 1.
count will now start from 2
The people still in game:
Array
(
[2] => 2
[3] => 3
[5] => 5
[6] => 6
[7] => 7
)
deleting 6.
count will now start from 7
The people still in game:
Array
(
[2] => 2
[3] => 3
[5] => 5
[7] => 7
)
the 1 iteration - reached the end. Rewinding...
now current is 2
deleting 5.
count will now start from 7
The people still in game:
Array
(
[2] => 2
[3] => 3
[7] => 7
)
Выигрышные места: 2, 3, 7.