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

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

by Maximiliano Contieri18mJanuary 16th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Maximiliano Contieri

Maximiliano Contieri

@mcsee

I’m senior software engineer specialized in declarative designs and S.O.L.I.D. and Agile lover.

About @mcsee
LEARN MORE ABOUT @MCSEE'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Maximiliano Contieri HackerNoon profile picture
Maximiliano Contieri@mcsee
I’m senior software engineer specialized in declarative designs and S.O.L.I.D. and Agile lover.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Also published here
Nitter
Koyu
Allmendenetz
Pussthecat
Actionsack
Moomoo
Moooi
Nospy
R3d
Zotan
Autarkic