Just wrapped up my Battleship project! 🚢
It’s built with pure JavaScript using a strict Test-Driven Development (TDD) approach to separate game logic from the DOM. Features an interactive setup phase and a smart CPU opponent.
Code here: [github.com/umersaif11/battle…]
52
A week ago I wrapped up the Knight Travails project! It’s fascinating to see how a chessboard is really just a graph in disguise. I treated every square as a node and valid moves as edges, then used BFS to find the shortest path. #Algorithms #DataStructures
33
Test Driven Development (TDD) is not about testing. It is a way of thinking and coding that just-so-happens to involve tests.
18
Documenting my Odin Project BST build. 🌲 Done: buildTree, insert, delete, find, + all 4 traversals.
The deleteItem root bug was tough! Finally learned why the public/private pattern & JS references are critical.
Repo:github.com/umersaif11/balanc…
#TheOdinProject #javascriptlearning
17










