Simple Variables Quiz

Simple Variables Quiz

This quiz is intended to test your knowledge of the concepts introduced in Simple Variable Types in Ren’Py. Explanations are provided for each answer, and you can take the quiz as many times as you like.

It’s okay if you don’t know the answers to every quiz question, even after going through the tutorials. Some quiz questions are there to point out common errors or mistakes and teach you how to identify and fix them. If you don’t understand a question, feel free to skip it and read the explanation after submitting the quiz. There’s a free question box at the end of the quiz if you have any comments, questions, or feedback.


Question 1

You’re keeping track of whether the player has a part-time job. If the player does have a part-time job, sometimes the script will mention that they’re not working today, or that they just finished a shift.

Which variable type should be used?

 
 
 
 

Question 2

The player can choose pronouns at the start of the game (he/him, she/her, or they/them). Sometimes other characters will use these pronouns when talking about the player. You want to write a sentence like “Did she say she knew about it?” where “she” uses the player’s pronouns.

Which variable type should be used?

 
 
 
 

Question 3

In your game, the player can make both good and bad choices. You want to check if they’ve made more good choices than bad choices to see which ending they get.

Which variable type should be used?

 
 
 
 

Question 4

You’re trying to keep track of how the player reacted to Xia at the beginning of the game. There are three possible reactions – anger, surprise, and excitement. The player can only react with one of those emotions (no combinations). If you reacted with anger, Xia will bring that up later in the story.

Which variable type should be used?

 
 
 
 

Question 5

The player has the option while shopping to buy Zoran a book: Pride & Prejudice or Frankenstein. If they bought Zoran a book, he will later tell the player what he thought of it and comment on the plot.

Which variable type should be used?

 
 
 
 

(Optional) Do you have any feedback on the lesson or the quiz?


Question 1 of 6


If you’d like to know more about the content covered in this quiz, see Simple Variable Types in Ren’Py for more information. If you’re ready to move on to new content, check out Equality Comparisons in Ren’Py.

Leave a Reply