Battleship is a classic strategic game where players take turns trying to locate and sink their opponent's ships. The goal of the game is to find and destroy all enemy ships in the shortest possible time. In this version of the game, you can play against the computer or have the computer play against another computer. In the future, I plan to introduce the option for two players to play against each other over the network.
- Play against the computer or have the computer play against itself
- Subtle animations enhancing the visual experience
- Customizable settings, including:
- Difficulty level
- Number of ships
- Number of shots
- Additional options such as:
- Choosing whether ships can touch each other
- Shots until the first miss
- Enabling or disabling sound effects
- The application tracks wins and losses and displays this information at the end of the game
- React
- styled-components
- React Router
- JavaScript ES6+
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/repository.git