Skip to content

BellaT/wdi-project-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mastermind

screenshot of game

###Introduction

Mastermind is a code-breaking game. However traditionally a board game for 2 players, this is an online game where you play against the computer to see if you can break it's code.

###How to play

The computer has chosen a random selection of 4 colours from a total of 6. The player then has a total of 10 attempts to guess the correct combination of colours in the correct order. The same colour can be chosen more than once. After each go the player checks their guess against the computer. The results will be shown in the box to the right of the current row. A black circle indicates the player has chosen a correct colour and in the correct position. A white circle indicates the player has chosen a correct colour but in the wrong position. If the player is unable to work out the combination in 10 gos, it's game over!

###The Project requirements

  • Render a game in the browser
  • Design logic for winning
  • Include separate HTML / CSS / JavaScript files
  • Visually display when the player has won

###Technologies

Mastermind has been built using:

  • HTML/CSS
  • Javascript
  • jQuery
  • Keypress

###Check out the game online!

Mastermind

About

First project for WDI London - game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published