I made these a while ago, but I just kept forgetting that I can share them on the forum. :~/
So here they are:
National Capitals Quiz
Flag Quiz
U.S. State Capitals Quiz
Canadian Capitals Quiz
Country Silhouettes Quiz
I haven't worked on them in a long time, so I haven't taken the time to make them better. Besides, I don't have a lot of time anyway. I'd say my flag quiz is the best of them.
I tried the flag quiz, and learned that there are a lot of countries I don't know anything about.
On the other hand, some of them aren't countries. The Isle of Man, for example, is part of the United Kingdom. It was in the news recently because it turned out that the last native speaker of Manx didn't die after all. (I mean, the person who did die wasn't the last native speaker.)
I can see why you picked the username you did! :~)
But...
- Sometimes your random answer picker picks the same country twice.
- Sometimes it doesn't include the correct answer. (This is rare but I swear it does happen.)
I don't really understand why you do all that complicated ghost effect stuff; I'm not noticing the fading in and out, unless it's the speech balloons that are at issue. But I appreciate putting effort into small things like that.
For the flag quiz and the silhouette quiz, I used the ISO 3166 list. The word country doesn't necessarily mean sovereign state. In fact, there is a lot of debate as to the definition of a country.
Oh, yeah. I keep meaning to fix that.
I've noticed it, too. It doesn't seem to happen on the computer I'm using right now, but it happened a lot on another computer I used once. I have absolutely no idea what in eSwatini is going on.
EDIT: Also, some territories have the same flag as the country they're owned by, which is part of the reason why I removed the uninhabited territories from the project (e.g. the U.S. Minor Outlying Islands, Svalbard and Jan Mayen [Norway])..
I just wanted it to have a cool intro.
Yeah, I originally chose it because I'm a geography nerd. Recently, I've been thinking about creating a new account under a different username, since a) I'm hardly a kid anymore and b) I am also a nerd in other ways, but the main thing that's holding me back is that I'd have my forum trust level reset.
aand this is why my interests are programming and music
May I suggest a list of common misspellings for it to use? For example, I misspelt "Tallahassee" because I accidentally put two h's, which got it incorrect
Umm... I kind of disagree with that. If you're learning your capitals, you should learn how they're spelled.
I can see why allowing misspelled words can be good, because at least you know what the flag is for. However I do also feel like it's perfectly reasonable for you not to add it, because writing down a bunch of common misspellings can take time, and creating a script to detect misspellings can also be quite a lot of work, probably more than it's worth.
Hmm... Sort the letters the user typed, compare with the sorted correct answer, if, say, 75% of the user's letters match answer letters and vice versa (so, the user didn't use too many wrong letters), call it correct. Kinda like writing a hangman game.
So people can say that Columbia is the capital of Ohio when it's the capital of South Carolina? I appreciate the suggestion, everyone, but I just don't really like it.
how about like a DID YOU MEAN: or maybe just not accepting the answer if it is not found anywhere in the database?
I think it's more likely a 75% match, and I'd assume it would be per word.
Yeah okay. Maybe it'd have to be just one wrong letter allowed... But of course it's your project and you should build it however you want!
I just meant if you made a typo, chill out.
Sorry. I didn't mean to sound aggravated.
It's a valid concession of the accuracy argument, though.
Could it have something to do with the desync between the codes and the costumes? You use indexOf many times in your scrips and I think the problem may be with the index of something that you are expecting changing, such as when you delete an item from countryList and all of the items shift up (making item X in codes and the countryList different), or the costumes not lining up perfectly with the codes in your script.
Here is my understanding of how the project works currently, although I can't seem to figure out where this problem appears: (comments in project (Note: I did modify and simplify some things))
https://snap.berkeley.edu/embed?projectname=flag%20quiz%20modified&username=schoolcs002&showTitle=true&showAuthor=true&editButton=true&pauseButton=true
Side note: Is there a better way of checking for all costume names of a sprite?
Side note 2: Is there a better way to change the name of a broadcast value than deleting it, and then replacing every block that used it with the new name?

Could it have something to do with the desync between the codes and the costumes? You use indexOf many times in your scrips and I think the problem may be with the index of something that you are expecting changing, such as when you delete an item from countryList and all of the items shift up (making item X in codes and the countryList different), or the costumes not lining up perfectly with the codes in your script.
Yeah, I think it might be something like that, now that you mention it.

Side note: Is there a better way of checking for all costume names of a sprite?
Yes
And if you want it for any sprite, just use the (ask [ V] for (() @addInput) @verticalEllipsis @addInput block
I think I found the problem. Fixing...
use hyperblocks! [name V] of costume (my [costumes V]) works :)
Okay. I think I've made some progress. It's still occasionally saying wrong countries are correct when I choose the wrong answer. E.g., I chose South Georgia Islands when the answer was the Falkland Islands (TBH, that was a legitimate slip-up), and the Falkland Islands was in the list, but it said Finland was the correct answer... and the lists still lined up after the program finished??????