Workshop › Tetris-style Blocks › Step 32 of 32
Your game, your rules. Add a hold: pressing C puts the falling piece aside and brings in another, once per piece.
Keep the held shape in held (null when empty). C puts the falling piece aside: the first time the next piece comes
in, later the held one comes back at the top, centred. Only once until the piece locks. Show Hold and the held piece
in the panel.
Skills: Game states, Keyboard and mouse input