Skip to content

Shantanupawar77/captain-game-compose

Repository files navigation

🏴‍☠️ Captain Game – Jetpack Compose UI Demo

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.


📥 Download APK

You can try the app using the link below:

👉 APK Download: https://drive.google.com/file/d/13XL1BULwpY8UdKmD8cCVAalGMlYGT4kk/view


🚀 Features (UI Only)

🎨 Jetpack Compose UI

  • Clean and simple UI built entirely with Compose
  • Dynamic text updates based on player action
  • Buttons for North, South, East, West directions

⚡ Gameplay Logic (Basic)

  • Random events: find treasure or hit a storm
  • Live updates:
    • Treasure count
    • Current direction
    • Event message

🧠 State Handling

  • Uses remember + mutableStateOf() for UI state updates
  • Showcases Compose’s reactive UI model

📌 Future Enhancements

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

🤝 Contributing

Feel free to fork this project and enhance the game logic or UI.
Pull requests are welcome!


⭐ Support

If you liked this project, please give it a ⭐ on GitHub!

Releases

No releases published

Packages

 
 
 

Contributors

Languages