https://github.com/leomsfreitas/soccerscore
Android soccer score simulator built with Jetpack Compose and Navigation Compose.
https://github.com/leomsfreitas/soccerscore
android jetpack-compose kotlin mobile navigation-compose
Last synced: 5 days ago
JSON representation
Android soccer score simulator built with Jetpack Compose and Navigation Compose.
- Host: GitHub
- URL: https://github.com/leomsfreitas/soccerscore
- Owner: leomsfreitas
- Created: 2026-04-29T18:59:21.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-21T00:06:55.000Z (6 days ago)
- Last Synced: 2026-06-21T02:05:26.726Z (6 days ago)
- Topics: android, jetpack-compose, kotlin, mobile, navigation-compose
- Language: Kotlin
- Size: 97.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SoccerScore
Android Soccer Score Simulator developed with Jetpack Compose and Navigation Compose.
## Features
- **Screen 1 – Match Setup**: input fields for team names and goal counts, with field validation.
- **Screen 2 – Match Summary**: displays the scoreboard before confirmation, with options to edit or confirm.
- **Screen 3 – Final Result**: shows the winner or a draw, with a button to start a new game.
## Technologies
- Kotlin
- Jetpack Compose
- Navigation Compose (parameter passing via routes)
- `rememberSaveable` for state preservation on screen rotation
## How to Run
1. Open the project in Android Studio.
2. Sync Gradle dependencies.
3. Run on an emulator or physical device with Android 8.0+ (API 26).
## Project Structure
```
app/src/main/java/.../soccerscore/
├── MainActivity.kt # NavHost with the 3 routes
└── screens/
├── ConfiguracaoScreen.kt # Screen 1
├── ResumoScreen.kt # Screen 2
└── ResultadoScreen.kt # Screen 3
```