A battleship game created in order to practice Test Driven Development
The main goal was to practice the basics of unit testing using Jest. I added another personal challenge to this project: using Typescript for the first time.
- Classes to create ships, gameboards and players
- Methods to perform basics game actions
- Add game loop and the UI
- Add smart Computer moves