Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mhmdfais/battleship
https://github.com/mhmdfais/battleship
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mhmdfais/battleship
- Owner: MhmdFais
- Created: 2024-07-05T16:21:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T16:17:49.000Z (4 months ago)
- Last Synced: 2024-07-18T20:57:26.090Z (4 months ago)
- Language: JavaScript
- Homepage: https://mhmdfais.github.io/battleship/
- Size: 670 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)