My Journey With the Connect Four Terminal Game
hackernoon.comI built a Connect Four game using Test-Driven Development (TDD) with RSpec. It was tough at first, but it helped me write cleaner code and avoid messy bugs. Now I'm sold on TDD and plan to use it in future projects less troubleshooting, more clarity, and code that explains itself.

My most recent project was the Connect Four terminal game. You can check this out here if you want. This project was supposed to improve my TDD (Test-Driven Development) skills, as I had to write tests for every step.
It was a loooong project, and in this article, I’m going to tell you why.
The TDD Lessons Before the Project
Before I got thrown into Connect Four, I had to go through a couple of lessons and exercises about TDD.
These lessons were actually pretty interesting. They explained:
-
How TDD works,
-
What it ...
Copyright of this story solely belongs to hackernoon.com . To see the full text click HERE