How amoussa-hub/6takes works
6Takes is a Java Swing card game with solo and multiplayer entry points. The evidenced solo flow runs from the home screen through player setup and timed card selection, resolves plays against four piles, updates scores, and presents final rankings. The multiplayer lobby and socket server are documented by their source layout, but their integration is not established by the excerpts; server-to-client message formatting is visible. Some UI and model relationships are supported by the SOURCE INDEX rather than full excerpts.
Main entry points: Game.java Game rules · GameBoard.java Game board · Accueil.java Home screen · GameFen.java Game window
Components 23
Solo interface
- Application entry
src/fr/amoussa/SixTakes/App.java - Home screen
src/fr/amoussa/SixTakes/Solo/View/Accueil.java - Menu actions
- Player setup
src/fr/amoussa/SixTakes/Solo/View/FormNumberPlayer.java - Game window
src/fr/amoussa/SixTakes/Solo/View/GameFen.java - Game board
src/fr/amoussa/SixTakes/Solo/View/GameBoard.java - Pause dialog
src/fr/amoussa/SixTakes/Solo/View/PauseFen.java - Final results
src/fr/amoussa/SixTakes/Solo/View/ResultFrame.java
Solo game
- Cards
src/fr/amoussa/SixTakes/Solo/View/Card.java - Card selection
src/fr/amoussa/SixTakes/Solo/Controller/DeckListener.java - Game rules
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Player state
src/fr/amoussa/SixTakes/Solo/Model/Player.java - Round timer
src/fr/amoussa/SixTakes/Solo/Model/Round.java - Pile state
src/fr/amoussa/SixTakes/Solo/Model/FoldModel.java - Pile selection
src/fr/amoussa/SixTakes/Solo/Model/FoldSelection.java - Pile display
src/fr/amoussa/SixTakes/Solo/View/Fold.java - Pile actions
src/fr/amoussa/SixTakes/Solo/Controller/FoldListener.java
Multiplayer networking
- Multiplayer lobby
src/fr/amoussa/SixTakes/Multijoueur/View/Lobby.java - Game server
src/fr/amoussa/SixTakes/Server/GameServer.java - Network client
src/fr/amoussa/SixTakes/Server/Client.java - Message format
src/fr/amoussa/SixTakes/Server/FormattedMessage.java
Shared presentation
- Image resources
src/fr/amoussa/SixTakes/Utils/Icone.java
Other components
- Player
Connections 26
- Application entry → Home screen: opens
src/fr/amoussa/SixTakes/App.java - Home screen → Menu actions: registers
src/fr/amoussa/SixTakes/Solo/View/Accueil.java - Menu actions → Player setup: opens solo setup
- Menu actions → Multiplayer lobby: opens lobby
- Player setup → Game window: starts game
src/fr/amoussa/SixTakes/Solo/View/FormNumberPlayer.java - Game window → Game rules: creates
src/fr/amoussa/SixTakes/Solo/View/GameFen.java - Game window → Game board: constructs
src/fr/amoussa/SixTakes/Solo/View/GameFen.java - Game rules → Game board: renders state
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game rules → Player state: creates and updates
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game rules → Pile state: updates piles
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game rules → Cards: deals and resolves
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game rules → Round timer: schedules
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Round timer → Game rules: requests plays
src/fr/amoussa/SixTakes/Solo/Model/Round.java - Game board → Cards: renders
src/fr/amoussa/SixTakes/Solo/View/GameBoard.java - Player state → Card selection: attaches listener
src/fr/amoussa/SixTakes/Solo/Model/Player.java - Card selection → Player state: sets selection
src/fr/amoussa/SixTakes/Solo/Controller/DeckListener.java - Game board → Pile display: creates piles
src/fr/amoussa/SixTakes/Solo/View/GameBoard.java - Pile display → Pile actions: registers listener
src/fr/amoussa/SixTakes/Solo/View/Fold.java - Game rules → Pile actions: reads selection
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game rules → Pile selection: schedules fallback choice
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Game board → Pause dialog: opens
src/fr/amoussa/SixTakes/Solo/View/GameBoard.java - Game rules → Final results: shows final scores
src/fr/amoussa/SixTakes/Solo/Model/Game.java - Final results → Home screen: returns to menu
src/fr/amoussa/SixTakes/Solo/View/ResultFrame.java - Network client → Message format: uses format
src/fr/amoussa/SixTakes/Server/Client.java - Player → Home screen: starts play
README.md - Home screen → Image resources: loads artwork
src/fr/amoussa/SixTakes/Solo/View/Accueil.java