Building a Wordle Game Using Test-Driven Development in 25 Minutesby@mcsee
1,340 reads

Building a Wordle Game Using Test-Driven Development in 25 Minutes

tldt arrow
Read on Terminal Reader

Too Long; Didn't Read

With just a few steps we can build a robust Wordle game in just 25 minutes using TDD. The minimum information amount in Wordle is a word. We need to define what a word is and define it as a letter. We don't mess with word validation yet (word might be XXXXX) We need a Word with a Word constructor and the letters() function. We run all the tests (just 1) and we are OK (1 test, 1 assertion) We can start with a simpler test just validation word is created.

Company Mentioned

Mention Thumbnail
featured image - Building a Wordle Game Using Test-Driven Development in 25 Minutes
Maximiliano Contieri HackerNoon profile picture

@mcsee

Maximiliano Contieri

About @mcsee
LEARN MORE ABOUT @MCSEE'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa