Skip to content

Kaun Banega Gyanpati - The Awesome Trivia App made using टाइपसक्रिप्ट.

License

Notifications You must be signed in to change notification settings

AviralCoder/Kaun_Banega_Gyanpati

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED

The project doesn't work anymore due to old underlying softwares being used and updating would be a task worse than hell. I am working on a new project using the same concept and API, but will take time. For now, this project has ended.

Kaun Banega Gyanpati

My first typescript and styled component project 😄. All source code written in typescript, including styles.

TypeScript analogy

class Kaun_Banega_Gyanpati
    extends React.Component
    implements Kaun_Banega_Crorepati
{
    constructor() {
        fetch(precess.env.API_URL).then((result) => {
            this.questions = result;
        });
    }

    increaseGyan = () => {
        this.gyan++;
    };

    checkAnswer = () => {
        if (this.answerChosen === "correct") {
            incraseGyan();
            return true;
        } else {
            return false;
        }
    };

    render() {
        return <Kaun_Banega_Gyanpati_UI />;
    }
}

Made using

  • TypeScript
  • Styled Components
  • React

Features

  • Downloading score into a jpg/png file. (dom-to-image)
  • Strict type checking provided by TypeScript making the app almost bug-free
  • Howler.js to play sounds
  • Report page for suggestions and reports. (Formspree)
  • All styled also written in TypeScript using styled components.

License

MIT

About

Kaun Banega Gyanpati - The Awesome Trivia App made using टाइपसक्रिप्ट.

Topics

Resources

License

Stars

Watchers

Forks