Coder Social home page Coder Social logo

andrewbaldwin44 / javascript_mastermind_game Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 38 KB

JavaScript Game Written for Concordia University

Home Page: https://andrewbaldwin44.github.io/JavaScript_Mastermind_Game/

License: MIT License

JavaScript 47.61% HTML 19.24% CSS 33.16%

javascript_mastermind_game's Introduction

Javascript Mastermind Game

Written For Concordia University

Mastermind Game

Demo

View the Live Demo

Instructions

Let's Play Mastermind!

The computer is the mastermind! They have created a top secret code that you must crack. You are the code breaker. You must use wits and strategy to break the code! With each guess you make, hints are given as to how close your guess was! Your guess is made by placing four colored pegs on the board. The mastermind will then give you colored clues:

A red clue:
Each red clue means you have placed the correct color, and its in the correct position!

A green clue:
Each green clue means you have placed the correct color, but its not in the correct position! You have 10 turns to guess the code! If you guess the code before your time runs out, you win!

How to Play

  • Simply click on a blank peg to toggle the colors
  • Once you are satisfied, click the Make a Guess button!
  • The game is fully responsive. Enjoy on any screen!

Deploy the project

Clone the repo to your local machine using the terminal:

$ git clone [email protected]:andrewbaldwin44/Javascript_Mastermind_Game.git

Then Open the index.html Project File in Your Browser

Technologies Used:

  • JavaScript
  • HTML
  • CSS

Author

๐Ÿ‘ค Andrew Baldwin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.