How wflageol-uqtr/inf1011 works
This repository is a collection of software-design coursework examples, not one integrated application. It includes a Harry Potter basket/pricing exercise, standalone poker and Minesweeper models, a SignalR poker web example, design-pattern demonstrations, and a composite filesystem example. The clearest runtime flows are the web poker hub’s hand evaluation, Minesweeper board construction through a tile factory, and the filesystem demo’s assembled tree. Several exercise modules are unsampled, so their internal relationships are not asserted.
Main entry points: PokerHub.cs Poker hub · Program.cs Filesystem demo · GameController.cs Game controller · Board.cs Board
Components 28
Harry Potter Basket
Poker Examples
- Poker hub
PokerWeb/PokerWeb/Hubs/PokerHub.cs - Game controller
PokerWeb/Poker/GameLogic/GameController.cs - Game states
PokerWeb/Poker/GameLogic - Hand analyzer
PokerWeb/Poker/PokerHandAnalyzer.cs - Card serializer
PokerWeb/Poker/CardSerializer.cs - Deck
PokerWeb/Poker/Deck.cs - Hand model
PokerWeb/Poker/Hand.cs - Standalone analyzer
Exercices/Poker/Poker/PokerHandAnalyzer.cs
Minesweeper
- Game
Minesweeper/Minesweeper/Game.cs - Board
Minesweeper/Minesweeper/Board.cs - Tile factory
Minesweeper/Minesweeper/Tiles/TileFactory.cs - Tile types
Minesweeper/Minesweeper/Tiles
Pattern Demonstrations
- Pattern examples
PatronsBibliotheque/PatronsBibliotheque/Program.cs - Facade template method
PatronsBibliotheque/PatronsBibliotheque/Facade_TemplateMethod.cs - Strategy factory
PatronsBibliotheque/PatronsBibliotheque/Strategy_Factory.cs - Observer decorator
PatronsBibliotheque/PatronsBibliotheque/Singleton_Observer_Decorator.cs
Filesystem Composite
- Filesystem demo
SystemeFichierExemple/SystemeFichierExemple/Program.cs - Folder
SystemeFichierExemple/SystemeFichierExemple/Folder.cs - Logging folder
SystemeFichierExemple/SystemeFichierExemple/LoggingFolder.cs - Element base
SystemeFichierExemple/SystemeFichierExemple/Element.cs - File
SystemeFichierExemple/SystemeFichierExemple/MyFile.cs
Other components
- Exercise user
- Web client
- Player
Connections 14
- Web client → Poker hub: sends messages
- Poker hub → Hand analyzer: evaluates hands
PokerWeb/PokerWeb/Hubs/PokerHub.cs - Poker hub → Web client: sends response
PokerWeb/PokerWeb/Hubs/PokerHub.cs - Poker hub → Game controller: holds controller
PokerWeb/PokerWeb/Hubs/PokerHub.cs - Game controller → Game states: dispatches actions
PokerWeb/Poker/GameLogic/GameController.cs - Game controller → Card serializer: deserializes cards
PokerWeb/Poker/GameLogic/GameController.cs - Player → Board: starts game
- Board → Tile factory: requests tiles
Minesweeper/Minesweeper/Board.cs - Tile factory → Tile types: creates tiles
Minesweeper/Minesweeper/Tiles/TileFactory.cs - Filesystem demo → Folder: assembles tree
SystemeFichierExemple/SystemeFichierExemple/Program.cs - Filesystem demo → File: adds files
SystemeFichierExemple/SystemeFichierExemple/Program.cs - Filesystem demo → Logging folder: wraps folder
SystemeFichierExemple/SystemeFichierExemple/Program.cs - Folder → Element base: inherits
SystemeFichierExemple/SystemeFichierExemple/Folder.cs - File → Element base: inherits
SystemeFichierExemple/SystemeFichierExemple/MyFile.cs