This project is a terminal-based multiplayer Battleship engine developed in Java that features a robust command-line interface for strategic gameplay. It utilizes the Java Collections Framework and a BFS algorithm to manage ship cell discovery, integrity tracking, and scoring logic. The engine supports dynamic fleet loading via external configurations files, allowing for varied ship placements and board sizes. Players interact width the system through real-time commands such as firing shots at specific coordinates checking fleet status, and viewing the live leaderboard. The scoring system is highly detailed, awarding points based on the size of the ship destroyed and applying penalties for redundant or missed actions. Designed with clear OOP, the project demonstrates effective state management for multiple players and automated win-condition detection.
hn9lth7/battleship-java-engine
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|