Skip to content

atulvishw240/connect-four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four

To learn more about the game and it's rules Connect Four.

Objective

To learn TDD (Test Driven Development).

Difficulties

Implementing the game itself was an easy task, as it's quite similar to Tic Tac Toe. Tricky part was to do it in TDD fashion.

I had to google a lot about, "Ok I know what behavior I want but How will I test it?".

Learnings

  1. I learned about the importance of writing Pure functions as they are easy to test and leads to better design.

  2. I learned about Mocking and how it can be used to separate other class functionalities, from the class, which is being tested.

  3. I learned that TDD is a discipline, its quite hard to write just enough code to pass the tests.

Screen.Recording.2025-01-06.155441.mp4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages