From 3de99ef810c63d32a1d61ee247eb65c08b8e9a91 Mon Sep 17 00:00:00 2001 From: Pandipipas Date: Sun, 17 May 2026 16:15:44 +0200 Subject: [PATCH] feat: update character options for fighting games; add new characters and remove duplicates --- .../composables/useCharacterGame.ts | 6 +- src/shared/fighting-characters.ts | 104 +++++++++--------- 2 files changed, 58 insertions(+), 52 deletions(-) diff --git a/src/dashboard/scoreko-dev/composables/useCharacterGame.ts b/src/dashboard/scoreko-dev/composables/useCharacterGame.ts index 89ece5c..db0dd4c 100644 --- a/src/dashboard/scoreko-dev/composables/useCharacterGame.ts +++ b/src/dashboard/scoreko-dev/composables/useCharacterGame.ts @@ -7,12 +7,16 @@ import { useScoreboardStore } from '../stores/scoreboard'; // --------------------------------------------------------------------------- export const ALL_FIGHTING_GAME_OPTIONS = [ + '2XKO', + 'FATAL FURY: City of the Wolves', + 'Guilty Gear -Strive-', + 'Invincible VS', 'Mortal Kombat 1', 'Street Fighter 6', 'TEKKEN 8', - 'Guilty Gear -Strive-', 'THE KING OF FIGHTERS XV', + ].map((game) => ({ label: game, value: game })); export type CharacterOption = ReturnType[number]; diff --git a/src/shared/fighting-characters.ts b/src/shared/fighting-characters.ts index 89e0d6a..f332390 100644 --- a/src/shared/fighting-characters.ts +++ b/src/shared/fighting-characters.ts @@ -10,6 +10,22 @@ const DEFAULT_PLACEHOLDER_PALETTE: GamePalette = ['#334155', '#0f172a']; const MAX_INITIALS = 2; const characterNamesByGame: Record = { + '2XKO': [ + 'Ahri', + 'Akali', + 'Braum', + 'Caitlyn', + 'Darius', + 'Ekko', + 'Illaoi', + 'Jinx', + 'Senna', + 'Teemo', + 'Vi', + 'Warwick', + 'Yasuo', + ], + 'FATAL FURY: City of the Wolves': [], // No character list available, players will rely on placeholders 'Guilty Gear -Strive-': [ 'A.B.A', 'Anji Mito', @@ -44,6 +60,43 @@ const characterNamesByGame: Record = { 'Venom', 'Zato-1', ], + 'Invincible VS': [], // No character list available, players will rely on placeholders + 'Mortal Kombat 1': [ + 'Ashrah', + 'Baraka', + 'Conan the Barbarian', + 'Cyrax', + 'Ermac', + 'Geras', + 'Ghostface', + 'Havik', + 'Homelander', + 'Johnny Cage', + 'Kenshi', + 'Kitana', + 'Kung Lao', + 'Li Mei', + 'Liu Kang', + 'Mileena', + 'Nitara', + 'Noob Saibot', + 'Omni-Man', + 'Peacemaker', + 'Quan Chi', + 'Raiden', + 'Rain', + 'Reiko', + 'Reptile', + 'Scorpion', + 'Sektor', + 'Shang Tsung', + 'Sindel', + 'Smoke', + 'Sub-Zero', + 'Takeda', + 'Tanya', + 'T-1000', + ], 'Street Fighter 6': [ 'A.K.I.', 'Akuma', @@ -120,57 +173,6 @@ const characterNamesByGame: Record = { 'Yoshimitsu', 'Zafina', ], - '2XKO': [ - 'Ahri', - 'Akali', - 'Braum', - 'Caitlyn', - 'Darius', - 'Ekko', - 'Illaoi', - 'Jinx', - 'Senna', - 'Teemo', - 'Vi', - 'Warwick', - 'Yasuo', - ], - 'Mortal Kombat 1': [ - 'Ashrah', - 'Baraka', - 'Conan the Barbarian', - 'Cyrax', - 'Ermac', - 'Geras', - 'Ghostface', - 'Havik', - 'Homelander', - 'Johnny Cage', - 'Kenshi', - 'Kitana', - 'Kung Lao', - 'Li Mei', - 'Liu Kang', - 'Mileena', - 'Nitara', - 'Noob Saibot', - 'Omni-Man', - 'Peacemaker', - 'Quan Chi', - 'Raiden', - 'Rain', - 'Reiko', - 'Reptile', - 'Scorpion', - 'Sektor', - 'Shang Tsung', - 'Sindel', - 'Smoke', - 'Sub-Zero', - 'Takeda', - 'Tanya', - 'T-1000', - ], 'THE KING OF FIGHTERS XV': [ 'Angel', 'Antonov',