/**
 * nameGenerator.js
 * Utility for generating random character names for units.
 */

/**
 * List of character names to choose from
 */
const CHARACTER_NAMES = [
  "Valerius", "Aria", "Kael", "Lyra", "Thorne", "Sera", "Darius", "Nyx",
  "Cyrus", "Elara", "Marcus", "Iris", "Orion", "Luna", "Titus", "Zara",
  "Felix", "Mira", "Jax", "Nova", "Rex", "Stella", "Vex", "Aurora",
  "Blake", "Celeste", "Drake", "Echo", "Finn", "Gwen", "Hale", "Ivy",
  "Jade", "Kai", "Levi", "Maya", "Nox", "Opal", "Pax", "Quinn",
  "Raven", "Sage", "Tara", "Uri", "Vera", "Wren", "Xara", "Yara", "Zane"
];

/**
 * Generates a random character name from a predefined list.
 * @returns {string} - A randomly selected character name
 */
export function generateCharacterName() {
  return CHARACTER_NAMES[Math.floor(Math.random() * CHARACTER_NAMES.length)];
}

