Skip to content

hn9lth7/battleship-java-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A multiplayer battleship game engine written in Java for university project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages