Jetpunk Typing

0 views
Skip to first unread message

Bharath Capelle

unread,
Aug 5, 2024, 11:59:21 AM8/5/24
to lackwasfihar
OnJetPunk, we have what's called type-ins. These use regular expressions to pattern-match what the user has entered into the text box against set expressions. For example, the expression might simply mean "type DOG exactly", so the user would have to type in the word "dog".

At this point it would be good to mention that JetPunk is not case sensitive, meaning that "AlpHa" is considered the same as "aLPHa". This is useful since we don't have to distinguish between capital letters and lowercase.


When creating type-ins, for many answers an automatic type-in will be loaded by default. This is mainly for common answers like Countries, Cities or States, though there are many others on there also. If it is not one of these common answers, then JetPunk will simply suggest a type-in base on the letters, such as a "y" at the end of a word will have the type-in "(EEEYIEY)" suggested. We'll go through what that means later.


Overall, getting started with type-ins is pretty easy, but actually making type-ins which match against many possible guesses is more useful. For example, you'll never be able to add every possible misspelling of Kyrgyzstan using the first 3 above, for that we need some more powerful tools.


RegEx is short for Regular Expression and refers to a near-universal tool in programming that allows you to pattern match text against cases. We will use a simplified version, since many of the features of RegEx are not useful or available on JetPunk. For example there are characters used to pattern-match on some symbols, but this is useless since the answer-box on JetPunk accepts only alphanumeric input (letters and numbers).


Character Classes define a set of characters to be matched against. These are defined using square brackets [ ]. On their own, they will only match against one letter at a time within the letters between the brackets, called the class.


You'll notice these 3 options line up with the JetPunk options mentioned above in the Simple Type-Ins section. The downside to using those 3 options is that you can't use any other Regex within them, only plain letters and numbers.


An example of that star token mentioned would be ^MI*NE which allows matches such as "MNE", "MINE" and "MIIIIIINE", since these all contain 0+ I's in the middle. Again this can be done in JetPunk, but I've yet to find a practical example for it.


The point of type-ins is to provide an easier way to match against possible user answers. Yes, it's possible to just type every possible spelling somebody may input as the answer, but what if you miss somebody's way of misspelling? And why do that when we can simplify them?


This type-in does wonders since nearly everybody spells Kyrgyzstan incorrectly in a different way at some point. This type-in was made by stripping it back to what it needs to be the word Kyrgyzstan, which means it needs to start with K, then either I or Y followed by RG. We also want it to end with STAN, which all gets combined to produce the type-in shown above.


Finally, many users appreciate when a quizmaker puts effort into type-ins, since this makes it a more pleasant quiz to take, especially when some of the answers come from other languages or can be simply strange in spelling or formation.


Also, if you'd like to explore RegEx further outside of JetPunk to practice or otherwise, RegExr is an excellent tool for getting to grips with all the terminology and features. It is also useful for testing the more complicated type-ins!


It was very useful for me ^^ thailand +1 Level 40 Mar 20, 2021 thank you! but what if i want to make a ''how many times can you type'' quiz? peardestroyer +2 Level 60 Mar 29, 2021 use the yellow box (the option to do this is in step 1) HeyItsMeJJ +1 Level 60 Mar 31, 2021 You can use the * for abbreviations like DRC Neodymium +2 Level 59 Dec 4, 2022 Well, you can also do (Democratic Republic of the CongoDRC).


When I try to do that, just typing n enters it in correctly. How do I fix it? Stewart +3 Level 68 May 5, 2022 the only way to prevent that is to force other characters to be typed. For example, if you want "5 letter word starting with n" you could do:


However, this would allow "NNNNN" as a word, which may not be what you want. Neodymium +2 Level 59 Dec 4, 2022 While * is pretty useless (I do like to use it to allow people to have ? but with more letters), there is something I think is a bit funny you can do with it.


Your solution is perfectly plausible. I'm going to keep my solution though since I think it makes the quiztaking experience easier. I don't know what variations someone would even try that would trigger this.


I think it could be useful in a case where there are many optional words in the middle of a type in. Stewart +2 Level 68 Dec 20, 2022 Yes I suppose that makes sense. I also thought an English word which sometimes has 0 1 or 2 of the same letter might work, instead of doubling up on ?? But I can't think of an example. Neodymium +1 Level 59 Dec 20, 2022 I think it's more likely it would be used in a translated proper noun (such as a foreign city). They are more often ambiguous in spelling, and would need *.


Alternatively, you can put more than 1 typein in a specific line. If you add a regex line, you can add multiple typeins using . E.g. ^Alpha^Beta^Gamma Idkman23 +1 Level 40 Jan 23, 2023 Thank you Stewart! Idkman23 +1 Level 40 Jan 23, 2023 One Last question.


Ok Say I wanted to make a quiz that is country by letter but there is none by that letter. How do i make it show up that there is none? Stewart +3 Level 68 Jan 23, 2023 In Step 4, towards the top, switch to "Manual" design mode. Then options will appear on the right hand side to add / remove rows. You can add a row, and then type in text directly in Step 4. This will always be visible. Then, for example, you could style that row to have a grey background similar to some other quizzes (like A-Z quizzes). RedWhiteBlue +1 Level 15 Mar 24, 2023 how do you make it so that you have to click on the exact 1 like if there are 2 and's but you only want 1 at a time? like on some of the quizzes, there's a yellow box around the question. how do you get that when making a quiz? Stewart +1 Level 68 Mar 24, 2023 Yellow boxes can be enabled on the right-hand (or the top on mobile, under the gear) by selecting the option "Yellow Box" to "Yes". RedWhiteBlue +2 Level 15 Mar 24, 2023 right hand on what step Stewart +2 Level 68 Mar 24, 2023 oh sorry, it's under Step 1 and it is only on Text and Picture Quizzes Quizbyquiz +1 Level 43 Jun 14, 2023 I don't think this goes under the category "Type-ins", but how do you put a link in a Jetpunk quiz? Like if you were trying to link it to others in the series or something? Thanks Stewart +2 Level 68 Jun 14, 2023 Well, JetPunk itself has a quiz series functionality anyway. You can edit this in the "create quiz index". The series then appears on the right hand side of the page (or at the bottom on mobile).


My source says 8 in hindi is Aaath. Another says Aath, I also want Ath to be accepted. So ^AA*T (i also allow the omission of the h. So is this finally a use for *!!?!?!? McKenzieFam +2 Level 65 Dec 16, 2023 A+TH? Deathslayer +1 Level 34 Jan 15, 2024 hey, (ik this is unrelated,but) how do you change the url of your quiz? Stewart +1 Level 68 Jan 15, 2024 You can't, unfortunately SuperGiulix02 +1 Level 40 Jan 21, 2024 I am trying to create a multiple answer quiz but it doesn't let me use symbols like and [], they automatically delete after i type them in the type ins. Why is that? Stewart +1 Level 68 Jan 21, 2024 You likely need to select the "Regex" option and not the default "Starts With". eliasehall +1 Level 34 Feb 12, 2024 Hallo! Ich htte zwei Fragen:


In Step 4, you can enable "Manual" design mode at the top of the page, and on the right-hand side will appear several options for adding/removing rows, columns and blocks (like whole groups of columns).


This will allow you to add cells to whatever design you wish. Afterwards, select a cell and choose an answer or hint using the "Manual Cell Options" at the top of the page. L7OD +1 Level 20 May 15, 2024 I am sorry if someone already asked that, but I am doing a quiz like the countries map languages quiz, and sometimes its the same answer for many countries. Can those answers use the same type-in? Stewart +1 Level 68 May 15, 2024 You can modify the typeins on Step 3, and set them to be the same.


Alternatively, if you want just a single answer showing in Step 2, then you could use Manual Design Mode in Step 4 to add an additional Text cell, then use the "Hidden Cells" feature to trigger that cell to only appear when the relevant answer has been answered. Potterhead67 +2 Level 17 Jun 4, 2024 thank you! i am about to make my first quiz, and this guide will make it so much easier! DarthKnight +1 Level 73 Jun 14, 2024 Is there any way to put the same answer for every answer without having to manually put it in every answer cell?


Example: If the answer is Russia then it will instantly complete the quiz is you type Russia. But if you type Canada it won't. Canada will get one answer correct. Russia would be a type-in for every country in this instance. So is there a easier way to make Russia the type-in for all the answers? Or do you just have to manually put Russia for every type-in.


for example in a language family quiz i want to show "korean" and "koreanic" by same answer. MrFatFat +1 Level 41 Jul 19, 2024 Use in between them. Add comment User Blogs

:: Stewart's Blog

:: This Blog New and Popular alldeenesfifritnlplpt US States QuizFast Typing 1 to 100US States by Borders in 30 SecondsNBA Teams QuizCountries of the World - One Minute SprintMajor League Baseball TeamsBrand Logos Quiz #4

3a8082e126
Reply all
Reply to author
Forward
0 new messages