A turn-based Battleship game developed for Android devices, where a human player competes against a computer opponent on an 8x8 grid. The project focuses on clean separation between game logic and UI, state persistence, and interactive gameplay mechanics.
- Turn-based Battleship gameplay on an 8x8 grid
- Human vs computer opponent
- Custom ship placement with horizontal and vertical orientation
- Randomized ship placement and firing logic for the computer
- Real-time hit/miss feedback using in-app notifications
- Win/loss tracking across multiple games
- Persistent UI state handling across configuration changes
- Implemented in Kotlin
- XML-based layouts (non-Compose)
- Clear separation of game logic and UI components
- Proper state restoration using
onSaveInstanceState - Modular board and game state management
- Kotlin
- Android SDK (API 29+)
- Android Studio
- XML Layouts
- Git & GitHub