GithubHelp home page GithubHelp logo

trivia_game's Introduction

trivia_game

Welcome to Who Wants to Fill a Questionnaire!

The aim of the game is simple! just click the shiny boxes that don't react at all to your touch because they are more stoic than british palace guards and VOILA! you'll get told how slightly uneducated you are!

if you want to play the game just click the link here https://ametueraspirant.github.io/trivia_game/

image1

I'll be solid this could have been a lot better but I ran out of time for all the cool stuff I wanted to do. you can't see it but trust me it was gonna be super great lots of camera angles and photoshop of the show and all that!

image2

here's some code. there's a lot of code. and I promise I'll get to commenting my stuff at some point in the future.

image3

it's an array of objects with more arrays inside. just sad I couln't think of an excuse to add more objects inside those arrays.

image4

some functions so I can dry myself out more or something

image5

but the real star of the show is this bad boy right here. it does everything almost and nothing could exist without it.

image6

yes it's literally just a giant switch statement that I dumped all of my logic into. I like doing this.

imagegif

and hey it works!

trivia_game's People

Contributors

ametueraspirant avatar

Watchers

James Cloos avatar  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.