Work

School Project BoxHit - Mobile Game

Java
Android
Kotlin
Spring Boot
HTML
CSS
WebSockets
PHP
Databases

Android Game with Multiplayer Servers

boxhit

Realtime Multiplayer Android Game

I co-developed BoxHit, a real-time 2D top-down strategy game for Android. The core idea: players control a box character and try to knock opponents off the platform. Each player starts with 10 lives, and attacks are limited by a cooldown system to keep gameplay balanced.

How it works

  • Gameplay: Up to 8 players per server compete in real-time. Players lose a life when hit and aim to outlast their opponents.

  • Frontend (Android): Built with Kotlin/Java, using Canvas for rendering graphics and game logic. Menus and settings were designed with XML layouts & fragments to ensure flexibility and performance across devices.

  • Backend: Implemented in Java Spring Boot with WebSockets, enabling low-latency, bidirectional communication for multiplayer synchronization.

  • Website Integration: Players can create accounts, choose their in-game color, and view leaderboards with personal stats and rankings.

  • Architecture: A distributed system – Android client, backend server, and database – ensuring scalability and real-time interaction.

Challenges solved

  • Implementing smooth WebSocket communication for real-time multiplayer.

  • Optimizing Canvas rendering for performance on a wide range of Android devices.

  • Designing a non-intrusive user interface and efficient resource management.

Outcome The project successfully delivered a functioning multiplayer Android game with account management, leaderboards, and live gameplay. The combination of Kotlin/Java on the frontend and Spring Boot on the backend proved effective, while also showing potential for future migration to frameworks like Unity.