Skip to content

patrickly1/Battleship

Repository files navigation

• Built a turn-based Battleship game using Javascript, allowing players to place and attack opponent ships. • Developed an algorithm that tracks the success of previous attacks to prioritize targeting adjacent cells. • Implemented dynamic cell selection and filtering techniques, including calculating valid adjacent cells and fallback to random valid cells to enhance strategic decision-making and adaptability.

Test out the game for yourself! https://patrickly1.github.io/Battleship/

Screenshot 2024-10-28 at 8 12 38 PM Screenshot 2024-10-28 at 8 13 06 PM Screenshot 2024-10-28 at 8 13 19 PM Screenshot 2024-10-28 at 8 14 28 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from patrickly1/Template