Implementing Tetris Logic and Functionality

In the previous chapter, we embarked on the development of the classic game Tetris. We determined the layout requirements of our application and implemented the layout elements we identified. In the process, we created two activities for the application: MainActivity and GameActivity. We also implemented the basic characteristics and behaviors of the views, but nothing pertaining to the core gameplay of the app was done. In this chapter, we are going to implement this gameplay. Over the course of this chapter, you will learn about the following topics:

  • Exception handling
  • The Model-View-Presenter pattern
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.116.27.178