/**
 * Add health values to players in a game.
 *
 * @param playerList List of player names.
 * @param healthValues List of health values to be added.
 * @return Dictionary containing updated player names and health values.
 */
fun addHealthToPlayers(playerList: List<String>, healthValues: List<Int>): Map<String, Int> {

    val updatedPlayers = mutableMapOf<String, Int>()

    for (i in playerList.indices) {
        val playerName = "${playerList[i]}: ${healthValues[i]}HP"
        updatedPlayers[playerName] = healthValues[i]
    }

    return updatedPlayers
}
/**
 * Add health values to players in a game.
 *
 * @param playerList List of player names.
 * @param healthValues List of health values to be added.
 * @return Dictionary containing updated player names and health values.
 */
fun addHealthToPlayers(playerList: List<String>, healthValues: List<Int>): Map<String, Int> {
/**
 * Add health values to players in a game.
 *
 * @param playerList List of player names.
 * @param healthValues List of health values to be added.
 * @return Dictionary containing updated player names and health values.
 */
fun addHealthToPlayers(playerList: List<String>, healthValues: List<Int>): Map<String, Int> {

    val updatedPlayers = mutableMapOf<String, Int>()

    for (i in playerList.indices) {
        val playerName = "${playerList[i]}: ${healthValues[i]}HP"
        updatedPlayers[playerName] = healthValues[i]
    }

    return updatedPlayers
}