/battleship

A web application version of Battleship:

Primary LanguageJavaScript

Battleship

This project is a web-app version of the classic board game "Battleship"

Highlight

This game was built using TDD (Test Driven Development) Implementing JEST Libraries. Using OOP Programming principles

My personal Takeways

Approaching this using TDD, Writing tests and going back and forth without using my trusty console.log was a true learning experience. Learning how to write tests, configure tests and knowing what to test throughout the process was interesting. This project also helped me strenghten my OOP principles drastically

How to play

Use the Github pages environment and view the latest deployment of the project or use this live repo link https://aaronlrv.github.io/battleship/ (Note: If it gets stuck on computer turn feel free to refresh the page!)

Tech/ Framework Used

css3 html5 javascript jest webpack

Future Implementations

Add a feature where users can randomly place ships, Not having users too click on their own

Implement a player name feature to describe the board with the users name

Fix bug where the computer gets stuck on a turn

Fix bug where hover gets clipped onto the wall

Contact info

Feel free to contact me here! aaronvitharanage@gmail.com