Captain Game is a simple and fun Jetpack Compose UI-only demo where the user sails in different directions and randomly finds treasure or hits a storm.
This project demonstrates UI state management, button interactions, and dynamic text updates using Compose.
⚠️ Note: This project currently includes only the UI logic.
Full game logic, animations, sound effects, score storage, and more features will be added later.
You can try the app using the link below:
👉 APK Download: https://drive.google.com/file/d/13XL1BULwpY8UdKmD8cCVAalGMlYGT4kk/view
- Clean and simple UI built entirely with Compose
- Dynamic text updates based on player action
- Buttons for North, South, East, West directions
- Random events: find treasure or hit a storm
- Live updates:
- Treasure count
- Current direction
- Event message
- Uses
remember+mutableStateOf()for UI state updates - Showcases Compose’s reactive UI model
The following improvements will be added later:
- Better treasure/storm logic
- More directions & map-like UI
- Animations for storms and treasures
- Sound effects and themes
- Game over screen & scoring system
- Persistent storage
- Advanced gameplay mechanics
Feel free to fork this project and enhance the game logic or UI.
Pull requests are welcome!
If you liked this project, please give it a ⭐ on GitHub!