# Trivia Game: Grace Hopper

The goal of this game is to have a player move around the screen and interact with other objects on the screen. As the player touches another object, the player will be prompted for a trivia question. The player is then given the opportunity to earn points by typing in the answer for the question. There will be 5 questions and 5 correct answers.&#x20;

<figure><img src="https://2507214486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LpUPSf3tCxHePJxNjfg%2Fuploads%2FGm0x92fycIr9DlOTKvyp%2Fimage.png?alt=media&#x26;token=0f892472-929a-40a7-8c32-7f8d3d811a2c" alt=""><figcaption></figcaption></figure>

**Create a new planning page in your notebook**.&#x20;

Write down how many sprites and how many variables you think the program will use. Make sure to write down the names for each sprite and variable.

**Step 1**

Create the player sprite. Recall that this will need to be in the on start block. Make sure to pick a player costume for the player.

In addition to creating the player, this game will have an additional feature that previous games did not have. This game will give the player the option to change their costume as they play the game by using the A and B buttons. Here is how that could work:

<figure><img src="https://lh3.googleusercontent.com/3-mVP47nwTWpzNV9RPxvGGYoDJgGK4jv0HE6wT6VmVutzh9pjIyQAPSxEY93m9MlowV_HPo03swqaM47Rd2MXxHO4ClFxVU4dVP6I-dPA6mbFr_9fsPoIs7hqF0c3IJDnS68G1A4nXm7KdoRsbqEZ4Oqygfcoz-wt_2y3elZT4qKY7A4zYoguQAK6bFSvA" alt=""><figcaption></figcaption></figure>

**Step 2**

Create the additional sprites. Each question will need its own sprite (that means 5 additional sprites). When creating the sprite, you can pick the type of the sprite. In this game, you will create a new kind of sprite, named ‘Question’. By doing this the game will have 1 player sprite and 5 question sprites. Make sure to put the question sprites in different locations on the screen. Here is an example of what this could look like as the game gets started:

<figure><img src="https://lh3.googleusercontent.com/LQV6onPfDucjexVtx2tjK0kqRjfr6dlfGBlZIRKTcrNwjSgSn9Fzkh3BqDuQd0isPGF1clV55yzcM_4lge2J3S_Fb_JM7_tMJXwNBaM2_6GG4unt5Z9UOgccWEE1wD4D3Wor5V3ccLpfOCra__OvItZtIFeSFLLy6ZqTXv1OhXwlusn2Zyu23JDBemdpdQ" alt=""><figcaption></figcaption></figure>

\
\
\
\
