import { h } from 'preact';
import { useState } from 'preact/hooks';
import styles from './GameDetail.module.css';
import modalStyles from './PlayerSelectModal.module.css';
const StartingPlayerModal = ({ players, onSelect, onCancel }) => (
14/1 endlos | Race to {game.raceTo}
{game.players.map((p, idx) => (
{p.name}
{p.score}
))}
Aktueller Spieler: {currentPlayer.name} ({game.ballsOnTable} Bälle auf dem Tisch)
Bälle am Ende der Aufnahme:
{Array.from({ length: 16 }, (_, i) => i).map(num => (
))}
{/* Placeholder for future buttons */}
Fouls & Re-Racks (nächste Phase)
);
};
export default GameDetail141;