To play a game on Quizizz, you need to have a six-digit code which is unique for each game and expires as soon as the game ends.
Once you start a Live or a Homework game, you can find the code on the next screen displayed as shown in the images below.
For a Live game:
For a Homework game:
Also, refer this link to understand how to get a code for a quiz and play it.