/**
 * This function takes a dictionary representing different rooms in a game level and prints the positions of enemies.
 *
 * @param rooms A dictionary representing different rooms in the game level, where the keys are the room names and the values are lists of enemies in that room.
 */
fun printEnemyPositions(rooms: Map<String, List<String>>) {

    rooms.forEach { (roomName, enemies) ->
        println("Enemies in $roomName:")
        enemies.forEachIndexed { index, enemy ->
            println("Enemy ${index + 1}: $enemy")
        }
    }
}
/**
 * This function takes a dictionary representing different rooms in a game level and prints the positions of enemies.
 *
 * @param rooms A dictionary representing different rooms in the game level, where the keys are the room names and the values are lists of enemies in that room.
 */
fun printEnemyPositions(rooms: Map<String, List<String>>) {
/**
 * This function takes a dictionary representing different rooms in a game level and prints the positions of enemies.
 *
 * @param rooms A dictionary representing different rooms in the game level, where the keys are the room names and the values are lists of enemies in that room.
 */
fun printEnemyPositions(rooms: Map<String, List<String>>) {

    rooms.forEach { (roomName, enemies) ->
        println("Enemies in $roomName:")
        enemies.forEachIndexed { index, enemy ->
            println("Enemy ${index + 1}: $enemy")
        }
    }
}