We now have a fully working Tetris. In the last three chapters, we saw how to use the sdl2 crate, how to add dependencies to Rust projects, how to handle I/O (with files), and how modules were working.
Even if we stop here for this Tetris project, you can continue this project (and it'd be even a good idea to improve yourself in sdl2!). A few ideas of missing things you could add:
- Change the background depending on the current level
- Asking the players, once the game is over, if they want to start a new game
- Adding the next tetrimino preview
- Adding a ghost (to see where the tetrimino will fall)
- And so much more. Just have fun while adding new features!
As you can see, a lot of things are possible. Have fun!