How nathaelle/demineur-angular works
Demineur is an Angular Minesweeper application. At runtime, the entry point bootstraps the app module, which declares the root shell, game board, and user component. The board creates a grid of cells, places bombs, computes adjacent-bomb counts, and handles clicks and marking; a clicked bomb notifies the board to end the game. The user component exposes profile and connection fields, but its behavior and how the UI connects components are not shown in the excerpts, so those links are left unverified.
Main entry points: board.component.ts Game board · app.module.ts App module · app.component.ts App shell · user.component.ts User profile
Components 8
Application runtime
- App entry
src/main.ts - Environment config
src/environments/environment.ts - App module
src/app/app.module.ts - App shell
src/app/app.component.ts
Minesweeper game
- Game board
src/app/composants/board/board.component.ts - Grid cell
src/app/composants/board/board.component.ts
User component
- User profile
src/app/composants/user/user.component.ts
Other components
- Player
Connections 11
- App entry → Environment config: reads settings
src/main.ts - App entry → App module: bootstraps
src/main.ts - App module → App shell: declares
src/app/app.module.ts - App module → Game board: declares
src/app/app.module.ts - App module → User profile: declares
src/app/app.module.ts - Game board → Grid cell: creates and initializes
src/app/composants/board/board.component.ts - Grid cell → Game board: notifies on bomb
src/app/composants/board/board.component.ts - Player → Game board: plays through UI
- Player → User profile: uses profile UI
- App shell → Game board: renders
- App shell → User profile: renders