GithubHelp home page GithubHelp logo

mirelcac / project-guess-who Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technigo/project-guess-who

0.0 0.0 0.0 88 KB

A digital version of the classic board game 'Guess Who' through DOM manipulation, conditional statements, and object and array manipulation.

Home Page: https://mc-guesswho.netlify.app

JavaScript 61.39% CSS 22.22% HTML 16.39%
api css3 html5 javascript

project-guess-who's Introduction

MC - Guess Who?

This project was about making a game of Guess Who?. The board with characters should be generated when the website is loaded, and it should be possible to restart the game or play again after the game has ended. When the game starts, aandomly selected person should be set as the secret person.

The player should be able to select questions (set options) to ask about the people on the cards, and filter the board based on those questions. The player should receive feedback on whether the option selected was wrong or right, and the player should be able to guess on a person they think is correct.

The problem

What I found difficult this week was understanding the code that was already there (even though there was a video). I understood what the code was, but not always where I should add to it and how.

The biggest error I encoutered was that when I selected the correct eye color or hair color, I first got the message that it was the right option, then a new alert showed up saying it was a wrong option, and then all the cards disappeared. It was an easy fix - just curly brackets. However, I was trying to find the error in the wrong places.

It was not as easy to console.log this time - I was not able to find the best places to place the console.log because all the code depended on each other.

With more time, I would do the stretch goals and change the design.

I still feel like I do not always understand why different codes are used - but some of the logic I do understand.

Trouble with the VScode shell - had to get help from Diego, therefore have not been able to push the project while working on it.

View it live

https://mc-guesswho.netlify.app/

project-guess-who's People

Contributors

emolsz avatar mirelcac avatar jenniedalgren avatar dmnich avatar

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.