GithubHelp home page GithubHelp logo

sofiavazs / project-cluedo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from technigo/project-cluedo

0.0 0.0 0.0 7.04 MB

Project Cluedo done during the Technigo bootcamp - Cluedo inspired random mystery picker game done in javascript

Home Page: https://cluendo.netlify.app/

JavaScript 59.27% HTML 16.95% CSS 23.78%
javascript html css

project-cluedo's Introduction

Clue & Do 🕵️‍♀️ - Mystery Randomizer

Random mystery picker inspired in the classic board game Cluedo®. The user (who is the game leader and the one that will know all about the murder) should be able to click on three decks of cards, to randomly get a character, a weapon and a room. Then there should also be a button to "reveal" the mystery.

The focus of this project is to practice objects and arrays and also to manipulate the DOM with JavaScript.

Planning & The problem 🧩

I've started by building the card decks by styling them and then create all the object lists and the arrays, I wanted all to show details and images about the suspect, weapon and room respectively so I changed my object lists to reflect that when the functions are called. When the user clicks on each deck a card will be displayed by calling a function which will randomly select from the arrays a "killer", "weapon" and "room" a card will be displayed. I've also added a function to random generate a "killer's favourite weapon.

Then there's a "Reveal mystery" button that once the cards mentioned above have been clicked will manipulate the DOM by JavaScript and reveal the mystery.

Tech ⚡

  • HTML5
  • CSS3
  • JavaScript

View it live 🔴

https://cluendo.netlify.app/

project-cluedo's People

Contributors

sofiavazs avatar jenniedalgren 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.