Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mhmdfais/battleship


https://github.com/mhmdfais/battleship

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# BattleShip

This is a simple game of battleship. The game is played on a 10x10 grid. The player and the computer each have a grid. The player places their ships on their grid and the computer places their ships on their grid. The player and the computer take turns guessing the location of the other player's ships. The first player to sink all of the other player's ships wins.

## live link

[Live link](https://mhmdfais.github.io/battleship/)

## ScreenShot

![image](https://github.com/user-attachments/assets/e173a2bb-c14f-4ec7-a38c-a6ce6df5a3b3)

## How to Play

To play the game, run the following command in the terminal:

```bash
npm init
npm start

```

## Acknowledgements

- The game was inspired by the game of battleship.
- The font used in the game is the Colleged by [DaFont](https://www.dafont.com/font-comment.php?file=colleged&text=hello+%21%21&back=theme)

## Future Improvements

- Add more ships to the game.
- Add more options for the player to customize the game.
- Add the ability to restart the game.

## Contributing

- If you would like to contribute to the project, please create a pull request.
- If you have any questions or suggestions, please create an issue.
- The codes for above mentioned improvements are already written in the code.

## Author

- [Muhammed](https://github.com/MhmdFais)