Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it so that every wrong answer removes 100 points #1

Closed
TechStudent10 opened this issue Jan 9, 2022 · 19 comments · Fixed by #9
Closed

Make it so that every wrong answer removes 100 points #1

TechStudent10 opened this issue Jan 9, 2022 · 19 comments · Fixed by #9
Labels
EddieHub:good-first-issue enhancement New feature or request help wanted Extra attention is needed javascript

Comments

@TechStudent10
Copy link

Then all you have to do to calculate the number of wrong answers is:

((total amount of questions * 100) - score) / 100

So if I had 15 questions and my score was 1000 then:

((15 * 100) - 1000) / 100

would give you 5. Then 15 - 5 = 10. So 5 wrong answers and 10 correct answers.

Okay so it's a bit complicated but I think this could be an interesting game mechanic.

@KendallDoesCoding
Copy link
Owner

Interesting, sorry for late reply, unwatched this repo by mistake. Can you make a PR?

@KendallDoesCoding KendallDoesCoding added the enhancement New feature or request label Feb 13, 2022
@KendallDoesCoding KendallDoesCoding transferred this issue from another repository Feb 13, 2022
@KendallDoesCoding
Copy link
Owner

@TechStudent11 Transferred it as I wanted to remove the contributors on quiz, they didnt help out with the project.. I was just testing the co-authors feature.. Transfering back.

@KendallDoesCoding
Copy link
Owner

@TechStudent11 Transferred it as I wanted to remove the contributors on quiz, they didnt help out with the project.. I was just testing the co-authors feature.. Transfering back.

@TechStudent11 I can't transfer it back for some reason, but please work on this here: https://github.com/KendallDoesCoding/quiz

@KendallDoesCoding
Copy link
Owner

@TechStudent11 Transferred it as I wanted to remove the contributors on quiz, they didnt help out with the project.. I was just testing the co-authors feature.. Transfering back.

@TechStudent11 I can't transfer it back for some reason, but please work on this here: https://github.com/KendallDoesCoding/quiz

Figured the issue.

@KendallDoesCoding KendallDoesCoding transferred this issue from another repository Feb 13, 2022
@KendallDoesCoding
Copy link
Owner

You know how to do this right? I dont know JS lol.

@TechStudent10
Copy link
Author

You know how to do this right? I dont know JS lol.

Sorry. I made this issue a long time ago and now am trying to figure out what the math was.

Anyways, yeah I could create a PR if you want. But I don't get how you made this app without knowing JS. That's a little weird.

@KendallDoesCoding
Copy link
Owner

You know how to do this right? I dont know JS lol.

Sorry. I made this issue a long time ago and now am trying to figure out what the math was.

Anyways, yeah I could create a PR if you want. But I don't get how you made this app without knowing JS. That's a little weird.

Oh ok.

Yeah please make a PR, I mostly followed a tutorial for this app. but added my own menus, etc lol. So, I know those basic JS concepts, but not entirely.

@KendallDoesCoding
Copy link
Owner

You know how to do this right? I dont know JS lol.

Sorry. I made this issue a long time ago and now am trying to figure out what the math was.
Anyways, yeah I could create a PR if you want. But I don't get how you made this app without knowing JS. That's a little weird.

Oh ok.

Yeah please make a PR, I mostly followed a tutorial for this app. but added my own menus, etc lol. So, I know those basic JS concepts, but not entirely.

Can you work on #4 too?

@KendallDoesCoding
Copy link
Owner

@TechStudent11 Are you still working on this or did what you say in KendallDoesCoding/mogul-christmas#80 apply here too?

@TechStudent10
Copy link
Author

nah to both. it's really simple to implement, so I think you can do it

@KendallDoesCoding
Copy link
Owner

KendallDoesCoding commented Feb 17, 2022 via email

@KendallDoesCoding
Copy link
Owner

It would help if you do it but yeah as I said, I'll try it.... Unassigning.

@KendallDoesCoding
Copy link
Owner

Hey @vrindavan , I require this done for all the quizzes, which can be seen in https://quiz.kendalldoescoding.gq/topics/ you did it only for the main one.

@BrajBliss
Copy link
Contributor

I didn't realise haha. I don't have time these days but I'll check out and try to edit from GitHub itself.

@BrajBliss
Copy link
Contributor

BrajBliss commented Jul 25, 2022

Assign this to me, I am editing each js file. It is not a good practice though. This is very redundant. Then there would be adding whitespace to the icons on the rule page as I did previously but I do not have time for that so I will just add a deduction function to every other.

@KendallDoesCoding
Copy link
Owner

Done in #13

@KendallDoesCoding
Copy link
Owner

I am editing each js file. It is not a good practice though. This is very redundant.

Yeah, I know that but the issue is, I need so many HTML, CSS, JS files and different folders because I need it to link back properly on the JS, plus the content on some of the files are different.

JS I surely require so many files because the questions are different? But maybe it is possible to const question for a certain quiz, and make like 15 or so const and then link the const to the HTML? I'm not good at JS but maybe it is possible.

@BrajBliss
Copy link
Contributor

You can create one JSON file for all quizzes and then use js to link all of them in one.

@KendallDoesCoding
Copy link
Owner

KendallDoesCoding commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EddieHub:good-first-issue enhancement New feature or request help wanted Extra attention is needed javascript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants