Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,4 @@ dotnet test

## Architecture Diagram

For a detailed architecture diagram and explanation, see `current-architecture-diagram.md` in the root of the repository.
For a detailed architecture diagram and explanation, see [`docs/architecture-diagram.md`](docs/architecture-diagram.md).
23 changes: 13 additions & 10 deletions agents.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ This is a modern Sudoku game built with .NET, Blazor, and C# following Clean Arc

```
Sudoku.sln
├── Sudoku.Api/ # REST API presentation layer
├── Sudoku.AppHost/ # Application orchestration
├── Sudoku.Application/ # Application use cases and orchestration
├── Sudoku.Blazor/ # Blazor Server presentation layer
├── Sudoku.Domain/ # Core domain entities and business rules
├── Sudoku.Infrastructure/ # External concerns (storage, external APIs)
├── Sudoku.McpServer # MPC server for AI tooling
├── Sudoku.ServiceDefaults/ # Default service configurations
└── Tests/ # Unit and integration tests
├── src/backend/
│ ├── Sudoku.Api/ # REST API presentation layer
│ ├── Sudoku.AppHost/ # Application orchestration
│ ├── Sudoku.Application/ # Application use cases and orchestration
│ ├── Sudoku.Domain/ # Core domain entities and business rules
│ ├── Sudoku.Infrastructure/ # External concerns (storage, external APIs)
│ ├── Sudoku.McpServer/ # MCP server for AI tooling
│ ├── Sudoku.ServiceDefaults/ # Default service configurations
│ └── Tests/ # Unit and integration tests
└── src/frontend/
├── Sudoku.Blazor/ # Blazor Server presentation layer
└── Sudoku.React/ # React/Vite SPA (TypeScript)
```

### Key Architectural Principles
Expand Down Expand Up @@ -242,7 +245,7 @@ public static class ServiceCollectionExtensions
public static IServiceCollection AddSudokuServices(this IServiceCollection services)
{
// Register domain services
services.AddScoped<IGameRepository, AzureBlobGameRepository>();
services.AddScoped<IGameRepository, CosmosDbGameRepository>();
services.AddScoped<ICommandHandler<CreateGameCommand>, CreateGameCommandHandler>();

// Register application services
Expand Down
332 changes: 0 additions & 332 deletions architecture-diagram.md

This file was deleted.

Loading
Loading