It’s done when the Letter
and Word
classes fulfill the tests in the tests
folder.
It’s done when the user can run the command npm start
to play the game.
How do the tests suggest how each method and class should be written?
If you have completed this activity, work through the following challenge to further your knowledge:
chalk
npm package do?Use Google or another search engine to research this.
const Game = require("./lib/Game");
// Initialize a new Game object
const game = new Game();
// Start playing
game.play();