Battleships


A **simple** text-based Battleship game implemented in a batch script.

Players try to sink a computer’s ship while avoiding its shots.

The game uses a grid-based system to place ships and guess their locations.

## Description

The game creates a 5×5 grid for both the player and the computer. The player can place their ship on their board, and the computer randomly places its ship. Players take turns trying to guess the coordinates of the computer’s ship. The game provides feedback on hits and misses and ends when one player successfully sinks the other’s ship.

## Requirements

– Windows OS with Command Prompt support.
– Basic understanding of coordinates and grids.

## Usage
1. **Download the script** and save it as `battleships.bat`.
2. **Run the script** by double-clicking it

BAT battleships.txt


Leave a Reply

Your email address will not be published. Required fields are marked *