Randomizers
In this lesson, you’ll discover the history behind randomizers and choose one for the game.
We'll cover the following
To have more colors than only a blue tetromino in our game, we need to add more pieces to our code.
Following the Super Rotation System, we can take the first position of the pieces and add them to the constants and their colors:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy