How massiliabk/jeudevine works
This is a small Java Swing number-guessing game. The player starts a round, submits guesses, receives range and proximity hints, and either wins or runs out of attempts; the GUI also supports replay and return to the home screen. The runtime is organized around the game controller, guessing rules, generated dialogue, and reusable visual components, with shared theme styling. The excerpts show these interactions; no persistence or external game services are evident.
Main entry points: JeuDevineGUI.java Game window · PageAccueil.java Home screen · Composants.java Chat components · Theme.java Theme styling
Components 7
Game interface
- Game window
src/JeuDevineGUI.java - Home screen
src/PageAccueil.java
Guessing round
- Guess rules
src/GameLogic.java - Game dialogue
src/Dialogue.java
Visual presentation
- Chat components
src/Composants.java - Theme styling
src/Theme.java
Other components
- Player
Connections 10
- Player → Game window: plays through
src/JeuDevineGUI.java - Game window → Home screen: shows home
src/JeuDevineGUI.java - Game window → Guess rules: starts and scores
src/JeuDevineGUI.java - Game window → Game dialogue: requests messages
src/JeuDevineGUI.java - Game window → Chat components: renders messages
src/JeuDevineGUI.java - Home screen → Guess rules: shows game limits
src/PageAccueil.java - Home screen → Chat components: renders greeting bubble
src/PageAccueil.java - Game window → Theme styling: styles interface
src/JeuDevineGUI.java - Home screen → Theme styling: styles home screen
src/PageAccueil.java - Chat components → Theme styling: uses theme colors
src/Composants.java