How carde1941/doposoccer works
DOPOSoccer is a local two-player arcade soccer game with Swing presentation and a domain layer exposed through the DOPOSoccer facade. Players configure a match, play against one another or a machine, and can save matches and persistent player progress. Match rules cover timing or goal limits, movement and collisions, character powers and effects, and scoring; player statistics can be upgraded between matches. The README documents the facade boundary and major capabilities; source excerpts and the index support only selected internal call relationships.
Main entry points: DOPOSoccer.java Game facade · Jugador.java Player actions and state · DOPOSoccerGUI.java Window and navigation · PanelJuego.java Live game panel
Components 24
Swing presentation
- Window and navigation
src/presentation/DOPOSoccerGUI.java - Match setup
src/presentation/PantallaPicadito.java - Match builder
src/presentation/ConfiguracionPartido.java - Live game panel
src/presentation/PanelJuego.java - Keyboard controls
src/presentation/Controles.java - Game views
src/presentation/VistaCompuesta.java - Character rendering
src/presentation/VistaJugador.java - Character display data
src/presentation/Pais.java - UI feedback and style
src/presentation/Log.java
Match domain
- Game facade
src/domain/DOPOSoccer.java - Match engine
src/domain/Partido.java - Match rules
src/domain/TipoPartido.java - Game catalog
src/domain/Catalogo.java - Domain errors
src/domain/DOPOSoccerException.java
Gameplay rules
- Court and ball physics
src/domain/Balon.java - Player actions and state
src/domain/Jugador.java - Character abilities
src/domain/Personaje.java - Power shots and effects
src/domain/Efecto.java - Machine profiles
src/domain/Maquina.java - Player controllers
src/domain/Controlador.java
Player progression
- Upgradeable statistics
src/domain/Estadisticas.java - Player progress
src/domain/Perfil.java - Saved match and progress
Other components
- Player
Connections 27
- Player → Window and navigation: uses
- Window and navigation → Match setup: shows
src/presentation/DOPOSoccerGUI.java - Match setup → Match builder: sets options
src/presentation/PantallaPicadito.java - Window and navigation → Match builder: builds match
src/presentation/DOPOSoccerGUI.java - Window and navigation → Live game panel: opens gameplay
src/presentation/DOPOSoccerGUI.java - Match builder → Game facade: configures
src/presentation/ConfiguracionPartido.java - Live game panel → Game facade: reads and controls
src/presentation/PanelJuego.java - Live game panel → Keyboard controls: registers
src/presentation/PanelJuego.java - Live game panel → Game views: renders through
src/presentation/PanelJuego.java - Character rendering → Game facade: reads state
src/presentation/VistaJugador.java - Character rendering → Character display data: uses display data
src/presentation/VistaJugador.java - Game facade → Match engine: controls match
src/domain/DOPOSoccer.java - Game facade → Game catalog: queries options
src/domain/DOPOSoccer.java - Match engine → Match rules: updates rules
src/domain/Partido.java - Match engine → Player actions and state: updates and resolves
src/domain/Partido.java - Match engine → Court and ball physics: updates physics
src/domain/Partido.java - Player actions and state → Court and ball physics: moves within court
src/domain/Jugador.java - Player actions and state → Power shots and effects: applies powers
src/domain/Jugador.java - Player actions and state → Upgradeable statistics: uses multipliers
src/domain/Jugador.java - Player actions and state → Player controllers: receives decisions
src/domain/Jugador.java - Machine profiles → Player actions and state: controls
src/domain/Maquina.java - Character abilities → Power shots and effects: creates shot effects
src/domain/Corea.java - Game facade → Saved match and progress: reads and writes
src/domain/DOPOSoccer.java - Game facade → Player progress: manages progress
src/domain/DOPOSoccer.java - Player progress → Upgradeable statistics: tracks upgrades
- Game facade → Domain errors: reports failures
src/domain/DOPOSoccer.java - Window and navigation → UI feedback and style: records errors
src/presentation/DOPOSoccerGUI.java