""" Game-related routes using GameService. Follows Model/Service Architecture with thin controllers. """ import logging from fastapi import APIRouter, HTTPException, Depends from app.services.service_container import GameServiceDep logger = logging.getLogger(f'{__name__}.games_router') router = APIRouter() @router.post("/start") async def start_game(game_service: GameServiceDep): """Start a new game using GameService.""" # TODO: Implement game creation using GameService raise HTTPException(status_code=501, detail="Game creation not yet implemented") @router.get("/{game_id}") async def get_game(game_id: int, game_service: GameServiceDep): """Get game details by ID.""" # TODO: Implement game retrieval using GameService raise HTTPException(status_code=501, detail="Game retrieval not yet implemented") @router.get("/") async def list_games(game_service: GameServiceDep): """List active games.""" # TODO: Implement game listing using GameService raise HTTPException(status_code=501, detail="Game listing not yet implemented")