For most people, it is difficult to write the program code for the "Tetris" game by themselves. However, many young people have always dreamed and pursued the dream of writing a "Tetris" game program by themselves. In order to help everyone realize their wishes, Chuanzhi Podcast has spent a lot of time and energy and arranged for Comrade Tang Yangguang to explain and show everyone the writing process of each line of code for the Chuanzhi Podcast version of "Tetris" through video teaching. Even so, it is difficult for everyone to grasp the object-oriented design ideas and the writing details of each line of code of the Chuanzhi Podcast version of "Tetris Game" by just watching the video. In order to allow you to truly write the Chuanzhi Podcast version of "Tetris Game" by yourself, Chuanzhi Podcast Company has the following suggestions for you: 1. For this video tutorial, you need to study it at least three times, and just by watching the video tutorial, Without thinking and practicing, you will definitely not learn; 2. First of all, it is recommended to watch the entire video explanation completely to have an overall understanding of the design ideas and knowledge points involved; 3. Then summarize what you learned from the first What did you gain from the study process? Think about whether you can program this game with the knowledge you have gained. What are the shortcomings? Accumulate certain questions in your mind. 4. Then start the second study of this video tutorial based on your own summary and thinking of the first study, and strive to solve the confusion summarized after the first study and thinking. 5. Start trying to write the program code for the "Tetris" game by yourself. If you can't write it down, refer to the video to learn. 6. If you want to write the program code for the Chuanzhi Podcast version of the "Tetris" game, you must think more, practice more, be full of enthusiasm, and not be afraid of difficulties. The Tetris game development video includes 13 sections: 01_Game function demonstration and description02_Object-oriented analysis and design in the game03_Using the API classes provided by Chuanzhi Podcast to assemble the Tetris game04_Writing various classes in the Tetris game The main framework code 05_Write the Controller class and implement the event monitoring of the timing drop of graphics 06_Write the program code to test each class 07_The data structure design of the graphics and the creation of the graphics 08_Complete the movement and display of the graphics 09_ Deal with the problem of graphics touching the boundary of the game area 10_Turn graphics into obstacles and display obstacles 11_Eliminate full rows of obstacles 12_Add the function of game end 13_Solve the problem of timed falling and pressing the key to generate obstacles at the same time question
Expand