https://github.com/spragginsdesigns/battleship-game-javascript-is30a-final
Final class project showcasing game development fundamentals with strategic gameplay at Clovis Community College.
https://github.com/spragginsdesigns/battleship-game-javascript-is30a-final
Last synced: 3 months ago
JSON representation
Final class project showcasing game development fundamentals with strategic gameplay at Clovis Community College.
- Host: GitHub
- URL: https://github.com/spragginsdesigns/battleship-game-javascript-is30a-final
- Owner: spragginsdesigns
- License: mit
- Created: 2021-11-05T03:39:36.000Z (over 3 years ago)
- Default Branch: Spraggins-Designs
- Last Pushed: 2023-12-27T21:25:29.000Z (over 1 year ago)
- Last Synced: 2025-01-08T21:28:40.526Z (5 months ago)
- Language: JavaScript
- Homepage: https://spragginsdesigns.github.io/Battleship-Game-JavaScript-IS30A-Final/
- Size: 1.14 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Battleship Game | Vanilla JavaScript
## Overview
Welcome to the Battleship game, a project developed for the IS30A final at Clovis Community College. This game is built entirely with vanilla JavaScript, providing an engaging and interactive experience.
## Instructions
To play the game, follow these simple instructions:
1. **Firing Torpedoes:**
- Use the context menu to fire a torpedo on the grid.
- Specify coordinates using the format A1-A6, down to D1-D6.2. **Hint for Location:**
- Utilize the Developer Tools and the console to type in `` (backticks) for a hint.
- This will reveal the arrays showing the locations of various elements on the grid.## Board Layout
For a visual representation of the game board, refer to the image: 
## Conclusion
This project served as the culmination of my IS30A coursework at Clovis Community College. It not only provided an opportunity for personal growth and learning but also allowed me to assist fellow students in completing their finals.
## Viewing Answers
If you're curious about the answers on the board, follow these steps:
1. Open the Developer Tools console.
2. Type `model.ships` in the console.
3. The arrays will be displayed, showing the board and the locations of the ships.## Credits
The code and PDF Guide used in this project are sourced from Head First JavaScript Programming, Chapter 8. You can find the referenced material [here](https://apprize.best/javascript/head/9.html).
Feel free to enjoy the game, and happy hunting on the high seas!