- n children stand around a circle
- Starting with a given child and working clockwise, each child gets a sequential number, which we will refer to as its id.
- Then starting with the first child, they count out from 1 until k. The k'th child is now out and leaves the circle. The count starts again with the child immediately next to the eliminated one.
- Children are so removed from the circle one by one. The winner is the last child left standing.
You need to install the following software to build and run the app:
Execute ./start.sh
to build and run the app.