Battle Ship Game is a classic naval combat game implemented in Java. The objective is to sink all enemy ships before your opponent sinks yours.
- Single Player Mode
- Multiplayer Mode
- User-friendly interface
- Customizable game settings
- Clone the repository:
git clone https://github.com/htilssu/BattleShip.git
- Navigate to the project directory:
cd BattleShip
- Compile the project:
javac -d bin src/*.java
- Run the game:
java -cp bin Main
- Start the game by running the command above.
- Follow the on-screen instructions to place your ships and take turns shooting at the enemy grid.
- The game ends when all ships of one player are sunk.
Contributions are welcome! Please fork the repository and create a pull request with a clear description of your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
Created by htilssu - feel free to contact me!
You can edit this template as needed. Would you like me to update the README.md file in your repository with this content?