@hhoangphuoc/escape-room-cli
Version:
A CLI for playing AI-generated escape room games. Install globally with: npm install -g @hhoangphuoc/escape-room-cli
21 lines (20 loc) • 488 B
TypeScript
import React from 'react';
interface LeaderboardEntry {
rank: number;
userName: string;
timeElapsed: number;
hintsUsed: number;
gameMode: string;
completedAt?: string;
totalCost?: number;
totalTokens?: number;
aiRequestsUsed?: number;
}
interface LeaderboardProps {
entries: LeaderboardEntry[];
count: number;
mode: string;
showCostMetrics?: boolean;
}
declare const Leaderboard: React.FC<LeaderboardProps>;
export default Leaderboard;