Build a Code Breaker Game With JavaScript Preview Image
  • JavaScript

Build a Code Breaker Game With JavaScript

Use JavaScript to accept user input, validation, and run game logic to build a game based on Mastermind.

Subscribe To Build

Project Overview

Employ JavaScript best practices and elements to build a game called Code Breaker (based on the popular board game Mastermind).

The game randomly generates a hidden code, and the player gets 10 attempts to guess that code based on provided feedback.

What You’ll Need

You’ll need a GitHub account, Git installed locally, and a code editor.

Never used Git and don’t have a code editor? We have a video that walks you through all the steps you’ll need to set this up.

Live Demo

Wondering what this project will look like when you've completed it? Follow this link to see a live version of it.

About This Project

Prerequisites
~ about 3 hours