/**
 * This function creates a set of game developers with unique IDs and assigns random games to each developer.
 *
 * @param devCount an integer representing the number of game developers
 * @param gameCount an integer representing the total number of games
 * @return A set of pairs, each containing the developer ID and a set of games assigned to them.
 */
fun createGameDevSet(devCount: Int, gameCount: Int): Set<Pair<String, Set<Pair<String, Boolean>>>> {

    val developers = mutableSetOf<Pair<String, Set<Pair<String, Boolean>>>>()

    for (i in 1..devCount) {
        val games = (1..gameCount).map { "Game$it" }.toSet()
        val randomGames = games.mapIndexed { index, game ->
            Pair(game, (gameCount - index + 1) > i)
        }.toSet()
        developers.add(Pair("Dev$i", randomGames))
    }

    return developers
}
/**
 * This function creates a set of game developers with unique IDs and assigns random games to each developer.
 *
 * @param devCount an integer representing the number of game developers
 * @param gameCount an integer representing the total number of games
 * @return A set of pairs, each containing the developer ID and a set of games assigned to them.
 */
fun createGameDevSet(devCount: Int, gameCount: Int): Set<Pair<String, Set<Pair<String, Boolean>>>> {
/**
 * This function creates a set of game developers with unique IDs and assigns random games to each developer.
 *
 * @param devCount an integer representing the number of game developers
 * @param gameCount an integer representing the total number of games
 * @return A set of pairs, each containing the developer ID and a set of games assigned to them.
 */
fun createGameDevSet(devCount: Int, gameCount: Int): Set<Pair<String, Set<Pair<String, Boolean>>>> {

    val developers = mutableSetOf<Pair<String, Set<Pair<String, Boolean>>>>()

    for (i in 1..devCount) {
        val games = (1..gameCount).map { "Game$it" }.toSet()
        val randomGames = games.mapIndexed { index, game ->
            Pair(game, (gameCount - index + 1) > i)
        }.toSet()
        developers.add(Pair("Dev$i", randomGames))
    }

    return developers
}