export interface MiniGame {
  key: string;
  name: string;
  description: string;
}

export const MINI_GAMES: Record<string, MiniGame> = {
  fishing: {
    key: 'fishing',
    name: 'Fishing',
    description: 'A real-time fishing mini-game that grants gold rewards.',
  },
  refinement: {
    key: 'refinement',
    name: '재련',
    description: '무기를 강화하고 다른 유저와 전투하며 골드를 모으는 미니게임입니다.',
  },
};

export const getMiniGame = (key: string): MiniGame | undefined => {
  return MINI_GAMES[key];
};

export const getAllMiniGames = (): MiniGame[] => {
  return Object.values(MINI_GAMES);
};
