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.
My first typescript and styled component project 😄. All source code written in typescript, including styles.
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 />;
}
}
- TypeScript
- Styled Components
- React
- 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.
MIT