src/josephus/Game.java
private void generatePlayers(int numberOfPlayers) {
        for (int i = 0; i < numberOfPlayers; i++) {
            NodeInterface player = new Player();
            list.insertEnd(player);
        }
    }
/**
     * @param numberOfPlayers number of players to be in the circle
     */
@param numberOfPlayers number of players to be in the circle
@param numberOfPlayers number of players to be in the circle
private void generatePlayers(int numberOfPlayers) {
        for (int i = 0; i < numberOfPlayers; i++) {
            NodeInterface player = new Player();
            list.insertEnd(player);
        }
    }
private void generatePlayers ( int numberOfPlayers ) { for ( int i = 0 ; i < numberOfPlayers ; i ++ ) { NodeInterface player = new Player ( ) ; list . insertEnd ( player ) ; } }
@param numberOfPlayers number of players to be in the circle
@param numberOfPlayers number of players to be in the circle