How aweeeprogramations/grupo2cib works
HighLow is a console-based High/Low tournament: players register as Normal or Special, take turns guessing against cards from a shuffled deck, and finish with individual statistics and winner results. The graph separates tournament entry and stages from the card and player domain models. Source excerpts show the main calls; the console user is an external actor, and there is no persistent store or external integration.
Main entry points: HighLow.java Player registration · Player.java Player scores · Deck.java Shuffled deck · NormalPlayer.java Normal player
Components 10
Tournament
- Program entry
Main.java - Player registration
HighLow.java - Turn and round play
HighLow.java - Tournament report
HighLow.java
Card Game
- Shuffled deck
Deck.java - Card model
Card.java
Player Types
- Player scores
Player.java - Normal player
NormalPlayer.java - Special player
SpecialPlayer.java
Other components
- Console player
Connections 13
- Program entry → Player registration: starts tournament
Main.java - Console player → Player registration: enters players
HighLow.java - Player registration → Normal player: creates normal
HighLow.java - Player registration → Special player: creates special
HighLow.java - Player registration → Turn and round play: begins turns
HighLow.java - Turn and round play → Shuffled deck: shuffles and deals
HighLow.java - Shuffled deck → Card model: creates cards
Deck.java - Turn and round play → Player scores: checks chances; records score
HighLow.java - Normal player → Player scores: extends
NormalPlayer.java - Special player → Player scores: extends
SpecialPlayer.java - Turn and round play → Tournament report: finishes tournament
HighLow.java - Tournament report → Player scores: reads scores and history
HighLow.java - Tournament report → Console player: displays results
HighLow.java