In this video we’ll explore a JavaScript implementation of a simplified version of the board game Mastermind. You’ll learn very basic JavaScript techniques to work with the DOM and get to create your own game that you can play vs an NPC or even convert into a 2 player game.

When I made this implementation I wasn’t 100% sure of the way hints were generated from when I played the game in my childhood so it might be wrong.

The video is a little long but can hopefully be useful to beginner JS developers since i explain most things step by step

#vanilla #javascript

Game in Vanilla JS - Mastermind [Step by step]
1.85 GEEK